|
@@ -1,221 +0,0 @@
|
|
|
-<?xml version="1.0" encoding="UTF-8"?>
|
|
|
-<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
|
|
-<mapper namespace="com.platform.dao.mapper.ticket.TicketExecuteMapper">
|
|
|
- <sql id="Base_Column_List">
|
|
|
- ticketexecute.id,
|
|
|
- ticketexecute.no,
|
|
|
- ticketexecute.type,
|
|
|
- ticketexecute.charge_user_id,
|
|
|
- ticketexecute.work_ban_user_id,
|
|
|
- ticketexecute.remark,
|
|
|
- ticketexecute.content,
|
|
|
- ticketexecute.plan_start_time,
|
|
|
- ticketexecute.plan_end_time,
|
|
|
- ticketexecute.sign_user_id,
|
|
|
- ticketexecute.sign_date_time,
|
|
|
- ticketexecute.receive_date_time,
|
|
|
- ticketexecute.zhibao_user_id,
|
|
|
- ticketexecute.sign_charge_user_id,
|
|
|
- ticketexecute.sure_date_time,
|
|
|
- ticketexecute.sure_charge_user_id,
|
|
|
- ticketexecute.sure_xuke_user_id,
|
|
|
- ticketexecute.xueke_start_date_time,
|
|
|
- ticketexecute.sure_content_sign_user_id,
|
|
|
- ticketexecute.old_charge_user_id,
|
|
|
- ticketexecute.change_date_time,
|
|
|
- ticketexecute.change_sign_user_id,
|
|
|
- ticketexecute.work_user_change_situation,
|
|
|
- ticketexecute.work_user_change_situation_two,
|
|
|
- ticketexecute.work_user_change_situation_time,
|
|
|
- ticketexecute.work_user_change_situation_time_two,
|
|
|
- ticketexecute.work_user_change_situation_sign_user_id,
|
|
|
- ticketexecute.yq_end_date_time,
|
|
|
- ticketexecute.yq_charge_sign_user_id,
|
|
|
- ticketexecute.yq_xuke_sign_user_id,
|
|
|
- ticketexecute.work_finish_date_time,
|
|
|
- ticketexecute.work_finish_charge_user_id,
|
|
|
- ticketexecute.work_finish_xuke_user_id,
|
|
|
- ticketexecute.ticket_finish_date_time,
|
|
|
- ticketexecute.ticket_finish_xuke_user_id,
|
|
|
- ticketexecute.ticket_finish_remark,
|
|
|
- ticketexecute.remark,
|
|
|
- ticketexecute.status,
|
|
|
- ticketexecute.created_time,
|
|
|
- ticketexecute.update_time,
|
|
|
- ticketexecute.created_user_id
|
|
|
- </sql>
|
|
|
- <sql id="Ref_Column_List">
|
|
|
- ticketexecute.no,
|
|
|
- ticketexecute.type,
|
|
|
- ticketexecute.charge_user_id,
|
|
|
- ticketexecute.work_ban_user_id,
|
|
|
- ticketexecute.remark,
|
|
|
- ticketexecute.content,
|
|
|
- ticketexecute.plan_start_time,
|
|
|
- ticketexecute.plan_end_time,
|
|
|
- ticketexecute.sign_user_id,
|
|
|
- ticketexecute.sign_date_time,
|
|
|
- ticketexecute.receive_date_time,
|
|
|
- ticketexecute.zhibao_user_id,
|
|
|
- ticketexecute.sign_charge_user_id,
|
|
|
- ticketexecute.sure_date_time,
|
|
|
- ticketexecute.sure_charge_user_id,
|
|
|
- ticketexecute.sure_xuke_user_id,
|
|
|
- ticketexecute.xueke_start_date_time,
|
|
|
- ticketexecute.sure_content_sign_user_id,
|
|
|
- ticketexecute.old_charge_user_id,
|
|
|
- ticketexecute.change_date_time,
|
|
|
- ticketexecute.change_sign_user_id,
|
|
|
- ticketexecute.work_user_change_situation,
|
|
|
- ticketexecute.work_user_change_situation_two,
|
|
|
- ticketexecute.work_user_change_situation_time,
|
|
|
- ticketexecute.work_user_change_situation_time_two,
|
|
|
- ticketexecute.work_user_change_situation_sign_user_id,
|
|
|
- ticketexecute.yq_end_date_time,
|
|
|
- ticketexecute.yq_charge_sign_user_id,
|
|
|
- ticketexecute.yq_xuke_sign_user_id,
|
|
|
- ticketexecute.work_finish_date_time,
|
|
|
- ticketexecute.work_finish_charge_user_id,
|
|
|
- ticketexecute.work_finish_xuke_user_id,
|
|
|
- ticketexecute.ticket_finish_date_time,
|
|
|
- ticketexecute.ticket_finish_xuke_user_id,
|
|
|
- ticketexecute.ticket_finish_remark,
|
|
|
- ticketexecute.remark,
|
|
|
- ticketexecute.status,
|
|
|
- </sql>
|
|
|
- <sql id="List_Condition">
|
|
|
- <if test="id != null and id != ''">
|
|
|
- and ticketexecute.id = #{id}
|
|
|
- </if>
|
|
|
- <if test="no != null and no != ''">
|
|
|
- and ticketexecute.no = #{no}
|
|
|
- </if>
|
|
|
- <if test="type != null and type != ''">
|
|
|
- and ticketexecute.type = #{type}
|
|
|
- </if>
|
|
|
- <if test="chargeUserId != null and chargeUserId != ''">
|
|
|
- and ticketexecute.charge_user_id = #{chargeUserId}
|
|
|
- </if>
|
|
|
- <if test="workBanUserId != null and workBanUserId != ''">
|
|
|
- and ticketexecute.work_ban_user_id = #{workBanUserId}
|
|
|
- </if>
|
|
|
- <if test="remark != null and remark != ''">
|
|
|
- and ticketexecute.remark = #{remark}
|
|
|
- </if>
|
|
|
- <if test="content != null and content != ''">
|
|
|
- and ticketexecute.content = #{content}
|
|
|
- </if>
|
|
|
- <if test="planStartTime != null">
|
|
|
- and ticketexecute.plan_start_time = #{planStartTime}
|
|
|
- </if>
|
|
|
- <if test="planEndTime != null">
|
|
|
- and ticketexecute.plan_end_time = #{planEndTime}
|
|
|
- </if>
|
|
|
- <if test="signUserId != null and signUserId != ''">
|
|
|
- and ticketexecute.sign_user_id = #{signUserId}
|
|
|
- </if>
|
|
|
- <if test="signDateTime != null">
|
|
|
- and ticketexecute.sign_date_time = #{signDateTime}
|
|
|
- </if>
|
|
|
- <if test="receiveDateTime != null">
|
|
|
- and ticketexecute.receive_date_time = #{receiveDateTime}
|
|
|
- </if>
|
|
|
- <if test="zhibaoUserId != null and zhibaoUserId != ''">
|
|
|
- and ticketexecute.zhibao_user_id = #{zhibaoUserId}
|
|
|
- </if>
|
|
|
- <if test="signChargeUserId != null and signChargeUserId != ''">
|
|
|
- and ticketexecute.sign_charge_user_id = #{signChargeUserId}
|
|
|
- </if>
|
|
|
- <if test="sureDateTime != null">
|
|
|
- and ticketexecute.sure_date_time = #{sureDateTime}
|
|
|
- </if>
|
|
|
- <if test="sureChargeUserId != null and sureChargeUserId != ''">
|
|
|
- and ticketexecute.sure_charge_user_id = #{sureChargeUserId}
|
|
|
- </if>
|
|
|
- <if test="sureXukeUserId != null and sureXukeUserId != ''">
|
|
|
- and ticketexecute.sure_xuke_user_id = #{sureXukeUserId}
|
|
|
- </if>
|
|
|
- <if test="xuekeStartDateTime != null">
|
|
|
- and ticketexecute.xueke_start_date_time = #{xuekeStartDateTime}
|
|
|
- </if>
|
|
|
- <if test="sureContentSignUserId != null and sureContentSignUserId != ''">
|
|
|
- and ticketexecute.sure_content_sign_user_id = #{sureContentSignUserId}
|
|
|
- </if>
|
|
|
- <if test="oldChargeUserId != null and oldChargeUserId != ''">
|
|
|
- and ticketexecute.old_charge_user_id = #{oldChargeUserId}
|
|
|
- </if>
|
|
|
- <if test="changeDateTime != null">
|
|
|
- and ticketexecute.change_date_time = #{changeDateTime}
|
|
|
- </if>
|
|
|
- <if test="changeSignUserId != null and changeSignUserId != ''">
|
|
|
- and ticketexecute.change_sign_user_id = #{changeSignUserId}
|
|
|
- </if>
|
|
|
- <if test="workUserChangeSituation != null and workUserChangeSituation != ''">
|
|
|
- and ticketexecute.work_user_change_situation = #{workUserChangeSituation}
|
|
|
- </if>
|
|
|
- <if test="workUserChangeSituationTwo != null and workUserChangeSituationTwo != ''">
|
|
|
- and ticketexecute.work_user_change_situation_two = #{workUserChangeSituationTwo}
|
|
|
- </if>
|
|
|
- <if test="workUserChangeSituationTime != null">
|
|
|
- and ticketexecute.work_user_change_situation_time = #{workUserChangeSituationTime}
|
|
|
- </if>
|
|
|
- <if test="workUserChangeSituationTimeTwo != null">
|
|
|
- and ticketexecute.work_user_change_situation_time_two = #{workUserChangeSituationTimeTwo}
|
|
|
- </if>
|
|
|
- <if test="workUserChangeSituationSignUserId != null and workUserChangeSituationSignUserId != ''">
|
|
|
- and ticketexecute.work_user_change_situation_sign_user_id = #{workUserChangeSituationSignUserId}
|
|
|
- </if>
|
|
|
- <if test="yqEndDateTime != null">
|
|
|
- and ticketexecute.yq_end_date_time = #{yqEndDateTime}
|
|
|
- </if>
|
|
|
- <if test="yqChargeSignUserId != null and yqChargeSignUserId != ''">
|
|
|
- and ticketexecute.yq_charge_sign_user_id = #{yqChargeSignUserId}
|
|
|
- </if>
|
|
|
- <if test="yqXukeSignUserId != null and yqXukeSignUserId != ''">
|
|
|
- and ticketexecute.yq_xuke_sign_user_id = #{yqXukeSignUserId}
|
|
|
- </if>
|
|
|
- <if test="workFinishDateTime != null">
|
|
|
- and ticketexecute.work_finish_date_time = #{workFinishDateTime}
|
|
|
- </if>
|
|
|
- <if test="workFinishChargeUserId != null and workFinishChargeUserId != ''">
|
|
|
- and ticketexecute.work_finish_charge_user_id = #{workFinishChargeUserId}
|
|
|
- </if>
|
|
|
- <if test="workFinishXukeUserId != null and workFinishXukeUserId != ''">
|
|
|
- and ticketexecute.work_finish_xuke_user_id = #{workFinishXukeUserId}
|
|
|
- </if>
|
|
|
- <if test="ticketFinishDateTime != null">
|
|
|
- and ticketexecute.ticket_finish_date_time = #{ticketFinishDateTime}
|
|
|
- </if>
|
|
|
- <if test="ticketFinishXukeUserId != null and ticketFinishXukeUserId != ''">
|
|
|
- and ticketexecute.ticket_finish_xuke_user_id = #{ticketFinishXukeUserId}
|
|
|
- </if>
|
|
|
- <if test="ticketFinishRemark != null">
|
|
|
- and ticketexecute.ticket_finish_remark = #{ticketFinishRemark}
|
|
|
- </if>
|
|
|
- <if test="remark != null and remark != ''">
|
|
|
- and ticketexecute.remark = #{remark}
|
|
|
- </if>
|
|
|
- <if test="status != null">
|
|
|
- and ticketexecute.status = #{status}
|
|
|
- </if>
|
|
|
- <if test="createdTime != null">
|
|
|
- and ticketexecute.created_time = #{createdTime}
|
|
|
- </if>
|
|
|
- <if test="updateTime != null">
|
|
|
- and ticketexecute.update_time = #{updateTime}
|
|
|
- </if>
|
|
|
- <if test="createdUserId != null and createdUserId != ''">
|
|
|
- and ticketexecute.created_user_id = #{createdUserId}
|
|
|
- </if>
|
|
|
- <if test="keyword != null and keyword != ''">
|
|
|
- and ticketexecute.id like concat(concat('%',#{keyword}),'%')
|
|
|
- </if>
|
|
|
- </sql>
|
|
|
- <select id="selectList" parameterType="com.platform.dao.dto.ticket.TicketExecuteDTO" resultType="com.platform.dao.vo.query.ticket.TicketExecuteVO">
|
|
|
- select ticketexecute.*
|
|
|
- from t_ticket_execute as ticketexecute
|
|
|
- <where>
|
|
|
- <include refid="List_Condition" />
|
|
|
- </where>
|
|
|
- </select>
|
|
|
-</mapper>
|