|
|
|
@ -56,6 +56,8 @@
|
|
|
|
|
<result column="CLOSED_DATE_TIME" property="closedDateTime" />
|
|
|
|
|
<result column="ABNORMAL_REASON" property="abnormalReason" />
|
|
|
|
|
<result column="BEFORE_MEASURE" property="beforeMeasure" />
|
|
|
|
|
<result column="REPORT_SEND_USER_GROUP" property="reportSendUserGroup" />
|
|
|
|
|
<result column="CANCEL_SEND_USER_GROUP" property="cancelSendUserGroup" />
|
|
|
|
|
<result column="CREATED_USER" property="createdUser" />
|
|
|
|
|
<result column="CREATED_DATA_TIME" property="createdDataTime" />
|
|
|
|
|
<result column="MODIFIED_USER" property="modifiedUser" />
|
|
|
|
@ -64,7 +66,7 @@
|
|
|
|
|
|
|
|
|
|
<!-- 通用查询结果列 -->
|
|
|
|
|
<sql id="Base_Column_List">
|
|
|
|
|
HANDLE, SITE, ABNORMAL_NO, STATUS, TYPE, ITEM_BO, SFC, OPERATION, WORK_CENTER, SHOP_ORDER, MESSAGE_TYPE, RESRCE, NC_CODE, NC_CODE_GROUP, SHUT_DOWN, RESPONSE_USER, RESPONSE_DATE_TIME, PB_DESCRIPTION, NC_QTY, PB_GRADE, PB_USER, PB_QTY, REPAIR_DATE_TIME, DISCOVER, INSPECTOR, ENTITY_LOCATION, REPORT_FROM, OBJECT_BO, PB_PHOTOSHOP, CANCEL_CODE, CANCEL_REASON, CANCEL_DATE_TIME, CANCEL_USER, DUTY_USER, DUTY_DATE_TIME, DUTY_DEPART, PRINCIPAL_USER, DUTY_CAUSE_DESCRIPTION, DUTY_CAUSE_TYPE, DUTY_TYPE, DUTY_SEND_USER_GROUP, RESOLVE_USER, RESOLVE_DATE_TIME, ABNORMAL_METHOD, ROUTER_BO, RESOLVE_SHOP_ORDER, RESOLVE_REMARK, RESOLVE_SEND_USER, CLOSED_USER, CLOSED_DATE_TIME, ABNORMAL_REASON, BEFORE_MEASURE, CREATED_USER, CREATED_DATA_TIME, MODIFIED_USER, MODIFIED_DATE_TIME
|
|
|
|
|
HANDLE, SITE, ABNORMAL_NO, STATUS, TYPE, ITEM_BO, SFC, OPERATION, WORK_CENTER, SHOP_ORDER, MESSAGE_TYPE, RESRCE, NC_CODE, NC_CODE_GROUP, SHUT_DOWN, RESPONSE_USER, RESPONSE_DATE_TIME, PB_DESCRIPTION, NC_QTY, PB_GRADE, PB_USER, PB_QTY, REPAIR_DATE_TIME, DISCOVER, INSPECTOR, ENTITY_LOCATION, REPORT_FROM, OBJECT_BO, PB_PHOTOSHOP, CANCEL_CODE, CANCEL_REASON, CANCEL_DATE_TIME, CANCEL_USER, DUTY_USER, DUTY_DATE_TIME, DUTY_DEPART, PRINCIPAL_USER, DUTY_CAUSE_DESCRIPTION, DUTY_CAUSE_TYPE, DUTY_TYPE, DUTY_SEND_USER_GROUP, RESOLVE_USER, RESOLVE_DATE_TIME, ABNORMAL_METHOD, ROUTER_BO, RESOLVE_SHOP_ORDER, RESOLVE_REMARK, RESOLVE_SEND_USER, CLOSED_USER, CLOSED_DATE_TIME, ABNORMAL_REASON, BEFORE_MEASURE, REPORT_SEND_USER_GROUP, CANCEL_SEND_USER_GROUP, CREATED_USER, CREATED_DATA_TIME, MODIFIED_USER, MODIFIED_DATE_TIME
|
|
|
|
|
</sql>
|
|
|
|
|
|
|
|
|
|
<!-- BaseMapper标准查询/修改/删除 -->
|
|
|
|
@ -150,6 +152,8 @@
|
|
|
|
|
<if test="ew.entity.closedDateTime!=null"> AND CLOSED_DATE_TIME=#{ew.entity.closedDateTime}</if>
|
|
|
|
|
<if test="ew.entity.abnormalReason!=null"> AND ABNORMAL_REASON=#{ew.entity.abnormalReason}</if>
|
|
|
|
|
<if test="ew.entity.beforeMeasure!=null"> AND BEFORE_MEASURE=#{ew.entity.beforeMeasure}</if>
|
|
|
|
|
<if test="ew.entity.reportSendUserGroup!=null"> AND REPORT_SEND_USER_GROUP=#{ew.entity.reportSendUserGroup}</if>
|
|
|
|
|
<if test="ew.entity.cancelSendUserGroup!=null"> AND CANCEL_SEND_USER_GROUP=#{ew.entity.cancelSendUserGroup}</if>
|
|
|
|
|
<if test="ew.entity.createdUser!=null"> AND CREATED_USER=#{ew.entity.createdUser}</if>
|
|
|
|
|
<if test="ew.entity.createdDataTime!=null"> AND CREATED_DATA_TIME=#{ew.entity.createdDataTime}</if>
|
|
|
|
|
<if test="ew.entity.modifiedUser!=null"> AND MODIFIED_USER=#{ew.entity.modifiedUser}</if>
|
|
|
|
@ -216,6 +220,8 @@
|
|
|
|
|
<if test="ew.entity.closedDateTime!=null"> AND CLOSED_DATE_TIME=#{ew.entity.closedDateTime}</if>
|
|
|
|
|
<if test="ew.entity.abnormalReason!=null"> AND ABNORMAL_REASON=#{ew.entity.abnormalReason}</if>
|
|
|
|
|
<if test="ew.entity.beforeMeasure!=null"> AND BEFORE_MEASURE=#{ew.entity.beforeMeasure}</if>
|
|
|
|
|
<if test="ew.entity.reportSendUserGroup!=null"> AND REPORT_SEND_USER_GROUP=#{ew.entity.reportSendUserGroup}</if>
|
|
|
|
|
<if test="ew.entity.cancelSendUserGroup!=null"> AND CANCEL_SEND_USER_GROUP=#{ew.entity.cancelSendUserGroup}</if>
|
|
|
|
|
<if test="ew.entity.createdUser!=null"> AND CREATED_USER=#{ew.entity.createdUser}</if>
|
|
|
|
|
<if test="ew.entity.createdDataTime!=null"> AND CREATED_DATA_TIME=#{ew.entity.createdDataTime}</if>
|
|
|
|
|
<if test="ew.entity.modifiedUser!=null"> AND MODIFIED_USER=#{ew.entity.modifiedUser}</if>
|
|
|
|
@ -290,6 +296,8 @@
|
|
|
|
|
<if test="ew.entity.closedDateTime!=null"> AND CLOSED_DATE_TIME=#{ew.entity.closedDateTime}</if>
|
|
|
|
|
<if test="ew.entity.abnormalReason!=null"> AND ABNORMAL_REASON=#{ew.entity.abnormalReason}</if>
|
|
|
|
|
<if test="ew.entity.beforeMeasure!=null"> AND BEFORE_MEASURE=#{ew.entity.beforeMeasure}</if>
|
|
|
|
|
<if test="ew.entity.reportSendUserGroup!=null"> AND REPORT_SEND_USER_GROUP=#{ew.entity.reportSendUserGroup}</if>
|
|
|
|
|
<if test="ew.entity.cancelSendUserGroup!=null"> AND CANCEL_SEND_USER_GROUP=#{ew.entity.cancelSendUserGroup}</if>
|
|
|
|
|
<if test="ew.entity.createdUser!=null"> AND CREATED_USER=#{ew.entity.createdUser}</if>
|
|
|
|
|
<if test="ew.entity.createdDataTime!=null"> AND CREATED_DATA_TIME=#{ew.entity.createdDataTime}</if>
|
|
|
|
|
<if test="ew.entity.modifiedUser!=null"> AND MODIFIED_USER=#{ew.entity.modifiedUser}</if>
|
|
|
|
@ -364,6 +372,8 @@
|
|
|
|
|
<if test="ew.entity.closedDateTime!=null"> AND CLOSED_DATE_TIME=#{ew.entity.closedDateTime}</if>
|
|
|
|
|
<if test="ew.entity.abnormalReason!=null"> AND ABNORMAL_REASON=#{ew.entity.abnormalReason}</if>
|
|
|
|
|
<if test="ew.entity.beforeMeasure!=null"> AND BEFORE_MEASURE=#{ew.entity.beforeMeasure}</if>
|
|
|
|
|
<if test="ew.entity.reportSendUserGroup!=null"> AND REPORT_SEND_USER_GROUP=#{ew.entity.reportSendUserGroup}</if>
|
|
|
|
|
<if test="ew.entity.cancelSendUserGroup!=null"> AND CANCEL_SEND_USER_GROUP=#{ew.entity.cancelSendUserGroup}</if>
|
|
|
|
|
<if test="ew.entity.createdUser!=null"> AND CREATED_USER=#{ew.entity.createdUser}</if>
|
|
|
|
|
<if test="ew.entity.createdDataTime!=null"> AND CREATED_DATA_TIME=#{ew.entity.createdDataTime}</if>
|
|
|
|
|
<if test="ew.entity.modifiedUser!=null"> AND MODIFIED_USER=#{ew.entity.modifiedUser}</if>
|
|
|
|
@ -438,6 +448,8 @@
|
|
|
|
|
<if test="ew.entity.closedDateTime!=null"> AND CLOSED_DATE_TIME=#{ew.entity.closedDateTime}</if>
|
|
|
|
|
<if test="ew.entity.abnormalReason!=null"> AND ABNORMAL_REASON=#{ew.entity.abnormalReason}</if>
|
|
|
|
|
<if test="ew.entity.beforeMeasure!=null"> AND BEFORE_MEASURE=#{ew.entity.beforeMeasure}</if>
|
|
|
|
|
<if test="ew.entity.reportSendUserGroup!=null"> AND REPORT_SEND_USER_GROUP=#{ew.entity.reportSendUserGroup}</if>
|
|
|
|
|
<if test="ew.entity.cancelSendUserGroup!=null"> AND CANCEL_SEND_USER_GROUP=#{ew.entity.cancelSendUserGroup}</if>
|
|
|
|
|
<if test="ew.entity.createdUser!=null"> AND CREATED_USER=#{ew.entity.createdUser}</if>
|
|
|
|
|
<if test="ew.entity.createdDataTime!=null"> AND CREATED_DATA_TIME=#{ew.entity.createdDataTime}</if>
|
|
|
|
|
<if test="ew.entity.modifiedUser!=null"> AND MODIFIED_USER=#{ew.entity.modifiedUser}</if>
|
|
|
|
@ -512,6 +524,8 @@
|
|
|
|
|
<if test="ew.entity.closedDateTime!=null"> AND CLOSED_DATE_TIME=#{ew.entity.closedDateTime}</if>
|
|
|
|
|
<if test="ew.entity.abnormalReason!=null"> AND ABNORMAL_REASON=#{ew.entity.abnormalReason}</if>
|
|
|
|
|
<if test="ew.entity.beforeMeasure!=null"> AND BEFORE_MEASURE=#{ew.entity.beforeMeasure}</if>
|
|
|
|
|
<if test="ew.entity.reportSendUserGroup!=null"> AND REPORT_SEND_USER_GROUP=#{ew.entity.reportSendUserGroup}</if>
|
|
|
|
|
<if test="ew.entity.cancelSendUserGroup!=null"> AND CANCEL_SEND_USER_GROUP=#{ew.entity.cancelSendUserGroup}</if>
|
|
|
|
|
<if test="ew.entity.createdUser!=null"> AND CREATED_USER=#{ew.entity.createdUser}</if>
|
|
|
|
|
<if test="ew.entity.createdDataTime!=null"> AND CREATED_DATA_TIME=#{ew.entity.createdDataTime}</if>
|
|
|
|
|
<if test="ew.entity.modifiedUser!=null"> AND MODIFIED_USER=#{ew.entity.modifiedUser}</if>
|
|
|
|
@ -586,6 +600,8 @@
|
|
|
|
|
<if test="ew.entity.closedDateTime!=null"> AND CLOSED_DATE_TIME=#{ew.entity.closedDateTime}</if>
|
|
|
|
|
<if test="ew.entity.abnormalReason!=null"> AND ABNORMAL_REASON=#{ew.entity.abnormalReason}</if>
|
|
|
|
|
<if test="ew.entity.beforeMeasure!=null"> AND BEFORE_MEASURE=#{ew.entity.beforeMeasure}</if>
|
|
|
|
|
<if test="ew.entity.reportSendUserGroup!=null"> AND REPORT_SEND_USER_GROUP=#{ew.entity.reportSendUserGroup}</if>
|
|
|
|
|
<if test="ew.entity.cancelSendUserGroup!=null"> AND CANCEL_SEND_USER_GROUP=#{ew.entity.cancelSendUserGroup}</if>
|
|
|
|
|
<if test="ew.entity.createdUser!=null"> AND CREATED_USER=#{ew.entity.createdUser}</if>
|
|
|
|
|
<if test="ew.entity.createdDataTime!=null"> AND CREATED_DATA_TIME=#{ew.entity.createdDataTime}</if>
|
|
|
|
|
<if test="ew.entity.modifiedUser!=null"> AND MODIFIED_USER=#{ew.entity.modifiedUser}</if>
|
|
|
|
@ -656,6 +672,8 @@
|
|
|
|
|
<if test="closedDateTime!=null">CLOSED_DATE_TIME,</if>
|
|
|
|
|
<if test="abnormalReason!=null">ABNORMAL_REASON,</if>
|
|
|
|
|
<if test="beforeMeasure!=null">BEFORE_MEASURE,</if>
|
|
|
|
|
<if test="reportSendUserGroup!=null">REPORT_SEND_USER_GROUP,</if>
|
|
|
|
|
<if test="cancelSendUserGroup!=null">CANCEL_SEND_USER_GROUP,</if>
|
|
|
|
|
<if test="createdUser!=null">CREATED_USER,</if>
|
|
|
|
|
<if test="createdDataTime!=null">CREATED_DATA_TIME,</if>
|
|
|
|
|
<if test="modifiedUser!=null">MODIFIED_USER,</if>
|
|
|
|
@ -714,6 +732,8 @@
|
|
|
|
|
<if test="closedDateTime!=null">#{closedDateTime},</if>
|
|
|
|
|
<if test="abnormalReason!=null">#{abnormalReason},</if>
|
|
|
|
|
<if test="beforeMeasure!=null">#{beforeMeasure},</if>
|
|
|
|
|
<if test="reportSendUserGroup!=null">#{reportSendUserGroup},</if>
|
|
|
|
|
<if test="cancelSendUserGroup!=null">#{cancelSendUserGroup},</if>
|
|
|
|
|
<if test="createdUser!=null">#{createdUser},</if>
|
|
|
|
|
<if test="createdDataTime!=null">#{createdDataTime},</if>
|
|
|
|
|
<if test="modifiedUser!=null">#{modifiedUser},</if>
|
|
|
|
@ -779,6 +799,8 @@
|
|
|
|
|
#{closedDateTime},
|
|
|
|
|
#{abnormalReason},
|
|
|
|
|
#{beforeMeasure},
|
|
|
|
|
#{reportSendUserGroup},
|
|
|
|
|
#{cancelSendUserGroup},
|
|
|
|
|
#{createdUser},
|
|
|
|
|
#{createdDataTime},
|
|
|
|
|
#{modifiedUser},
|
|
|
|
@ -840,6 +862,8 @@
|
|
|
|
|
<if test="et.closedDateTime!=null">CLOSED_DATE_TIME=#{et.closedDateTime},</if>
|
|
|
|
|
<if test="et.abnormalReason!=null">ABNORMAL_REASON=#{et.abnormalReason},</if>
|
|
|
|
|
<if test="et.beforeMeasure!=null">BEFORE_MEASURE=#{et.beforeMeasure},</if>
|
|
|
|
|
<if test="et.reportSendUserGroup!=null">REPORT_SEND_USER_GROUP=#{et.reportSendUserGroup},</if>
|
|
|
|
|
<if test="et.cancelSendUserGroup!=null">CANCEL_SEND_USER_GROUP=#{et.cancelSendUserGroup},</if>
|
|
|
|
|
<if test="et.createdUser!=null">CREATED_USER=#{et.createdUser},</if>
|
|
|
|
|
<if test="et.createdDataTime!=null">CREATED_DATA_TIME=#{et.createdDataTime},</if>
|
|
|
|
|
<if test="et.modifiedUser!=null">MODIFIED_USER=#{et.modifiedUser},</if>
|
|
|
|
@ -901,6 +925,8 @@
|
|
|
|
|
CLOSED_DATE_TIME=#{et.closedDateTime},
|
|
|
|
|
ABNORMAL_REASON=#{et.abnormalReason},
|
|
|
|
|
BEFORE_MEASURE=#{et.beforeMeasure},
|
|
|
|
|
REPORT_SEND_USER_GROUP=#{et.reportSendUserGroup},
|
|
|
|
|
CANCEL_SEND_USER_GROUP=#{et.cancelSendUserGroup},
|
|
|
|
|
CREATED_USER=#{et.createdUser},
|
|
|
|
|
CREATED_DATA_TIME=#{et.createdDataTime},
|
|
|
|
|
MODIFIED_USER=#{et.modifiedUser},
|
|
|
|
@ -962,6 +988,8 @@
|
|
|
|
|
<if test="et.closedDateTime!=null">CLOSED_DATE_TIME=#{et.closedDateTime},</if>
|
|
|
|
|
<if test="et.abnormalReason!=null">ABNORMAL_REASON=#{et.abnormalReason},</if>
|
|
|
|
|
<if test="et.beforeMeasure!=null">BEFORE_MEASURE=#{et.beforeMeasure},</if>
|
|
|
|
|
<if test="et.reportSendUserGroup!=null">REPORT_SEND_USER_GROUP=#{et.reportSendUserGroup},</if>
|
|
|
|
|
<if test="et.cancelSendUserGroup!=null">CANCEL_SEND_USER_GROUP=#{et.cancelSendUserGroup},</if>
|
|
|
|
|
<if test="et.createdUser!=null">CREATED_USER=#{et.createdUser},</if>
|
|
|
|
|
<if test="et.createdDataTime!=null">CREATED_DATA_TIME=#{et.createdDataTime},</if>
|
|
|
|
|
<if test="et.modifiedUser!=null">MODIFIED_USER=#{et.modifiedUser},</if>
|
|
|
|
@ -1022,6 +1050,8 @@
|
|
|
|
|
<if test="ew.entity.closedDateTime!=null"> AND CLOSED_DATE_TIME=#{ew.entity.closedDateTime}</if>
|
|
|
|
|
<if test="ew.entity.abnormalReason!=null"> AND ABNORMAL_REASON=#{ew.entity.abnormalReason}</if>
|
|
|
|
|
<if test="ew.entity.beforeMeasure!=null"> AND BEFORE_MEASURE=#{ew.entity.beforeMeasure}</if>
|
|
|
|
|
<if test="ew.entity.reportSendUserGroup!=null"> AND REPORT_SEND_USER_GROUP=#{ew.entity.reportSendUserGroup}</if>
|
|
|
|
|
<if test="ew.entity.cancelSendUserGroup!=null"> AND CANCEL_SEND_USER_GROUP=#{ew.entity.cancelSendUserGroup}</if>
|
|
|
|
|
<if test="ew.entity.createdUser!=null"> AND CREATED_USER=#{ew.entity.createdUser}</if>
|
|
|
|
|
<if test="ew.entity.createdDataTime!=null"> AND CREATED_DATA_TIME=#{ew.entity.createdDataTime}</if>
|
|
|
|
|
<if test="ew.entity.modifiedUser!=null"> AND MODIFIED_USER=#{ew.entity.modifiedUser}</if>
|
|
|
|
@ -1113,6 +1143,8 @@
|
|
|
|
|
<if test="ew.entity.closedDateTime!=null"> AND CLOSED_DATE_TIME=#{ew.entity.closedDateTime}</if>
|
|
|
|
|
<if test="ew.entity.abnormalReason!=null"> AND ABNORMAL_REASON=#{ew.entity.abnormalReason}</if>
|
|
|
|
|
<if test="ew.entity.beforeMeasure!=null"> AND BEFORE_MEASURE=#{ew.entity.beforeMeasure}</if>
|
|
|
|
|
<if test="ew.entity.reportSendUserGroup!=null"> AND REPORT_SEND_USER_GROUP=#{ew.entity.reportSendUserGroup}</if>
|
|
|
|
|
<if test="ew.entity.cancelSendUserGroup!=null"> AND CANCEL_SEND_USER_GROUP=#{ew.entity.cancelSendUserGroup}</if>
|
|
|
|
|
<if test="ew.entity.createdUser!=null"> AND CREATED_USER=#{ew.entity.createdUser}</if>
|
|
|
|
|
<if test="ew.entity.createdDataTime!=null"> AND CREATED_DATA_TIME=#{ew.entity.createdDataTime}</if>
|
|
|
|
|
<if test="ew.entity.modifiedUser!=null"> AND MODIFIED_USER=#{ew.entity.modifiedUser}</if>
|
|
|
|
@ -1134,22 +1166,25 @@
|
|
|
|
|
</foreach>)
|
|
|
|
|
</delete>
|
|
|
|
|
<!-- BaseMapper标准查询/修改/删除 -->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<select id="findAllByAbnormalNo" resultMap="BaseResultMap">
|
|
|
|
|
SELECT zab.HANDLE HANDLE ,zab.SITE SITE ,zab.ABNORMAL_NO ABNORMAL_NO ,zab.STATUS STATUS ,
|
|
|
|
|
zab."TYPE" "TYPE" ,zab.ITEM_BO ITEM_BO ,zab.SFC SFC ,zab.OPERATION OPERATION ,
|
|
|
|
|
zab.WORK_CENTER ,WORK_CENTER ,zab.SHOP_ORDER SHOP_ORDER ,zab.MESSAGE_TYPE MESSAGE_TYPE ,
|
|
|
|
|
zab.RESRCE RESRCE ,zab.NC_CODE NC_CODE,zab.SHUT_DOWN SHUT_DOWN ,zab.RESPONSE_USER RESPONSE_USER ,
|
|
|
|
|
zab.RESPONSE_DATE_TIME RESPONSE_DATE_TIME ,zab.PB_DESCRIPTION PB_DESCRIPTION ,zab.NC_QTY NC_QTY ,
|
|
|
|
|
zab.PB_GRADE PB_GRADE ,zab.PB_USER PB_USER ,zab.PB_QTY PB_QTY ,zab.REPAIR_DATE_TIME REPAIR_DATE_TIME ,
|
|
|
|
|
zab.DISCOVER DISCOVER ,zab.INSPECTOR INSPECTOR ,zab.ENTITY_LOCATION ENTITY_LOCATION ,zab.REPORT_FROM REPORT_FROM ,
|
|
|
|
|
zab.OBJECT_BO OBJECT_BO ,zab.PB_PHOTOSHOP PB_PHOTOSHOP ,zab.CANCEL_CODE CANCEL_CODE ,zab.CANCEL_REASON CANCEL_REASON ,
|
|
|
|
|
zab.CANCEL_DATE_TIME CANCEL_DATE_TIME ,zab.CANCEL_USER CANCEL_USER ,zabd.DUTY_USER DUTY_USER,zabd.DUTY_DATE_TIME DUTY_DATE_TIME,
|
|
|
|
|
zabd.DUTY_DEPART DUTY_DEPART,zabd.PRINCIPAL_USER PRINCIPAL_USER,zabd.DUTY_CAUSE_DESCRIPTION DUTY_CAUSE_DESCRIPTION,
|
|
|
|
|
zabd.DUTY_CAUSE_TYPE DUTY_CAUSE_TYPE,zabd.DUTY_TYPE DUTY_TYPE,zabd.DUTY_SEND_USER_GROUP DUTY_SEND_USER_GROUP,
|
|
|
|
|
zabd.RESOLVE_USER RESOLVE_USER,zabd.RESOLVE_DATE_TIME RESOLVE_DATE_TIME,zabd.ABNORMAL_METHOD ABNORMAL_METHOD,
|
|
|
|
|
zabd.ROUTER_BO ROUTER_BO,zabd.RESOLVE_SHOP_ORDER RESOLVE_SHOP_ORDER,zabd.RESOLVE_REMARK RESOLVE_REMARK,
|
|
|
|
|
zabd.RESOLVE_SEND_USER RESOLVE_SEND_USER,zabd.CLOSED_USER CLOSED_USER,zabd.CLOSED_DATE_TIME CLOSED_DATE_TIME,
|
|
|
|
|
zabd.ABNORMAL_REASON ABNORMAL_REASON,zabd.BEFORE_MEASURE BEFORE_MEASURE
|
|
|
|
|
zab."TYPE" "TYPE" ,zab.ITEM_BO ITEM_BO ,zab.SFC SFC ,zab.OPERATION OPERATION ,
|
|
|
|
|
zab.WORK_CENTER ,WORK_CENTER ,zab.SHOP_ORDER SHOP_ORDER ,zab.MESSAGE_TYPE MESSAGE_TYPE ,
|
|
|
|
|
zab.RESRCE RESRCE ,zab.NC_CODE NC_CODE,zab.SHUT_DOWN SHUT_DOWN ,zab.RESPONSE_USER RESPONSE_USER ,
|
|
|
|
|
zab.RESPONSE_DATE_TIME RESPONSE_DATE_TIME ,zab.PB_DESCRIPTION PB_DESCRIPTION ,zab.NC_QTY NC_QTY ,
|
|
|
|
|
zab.PB_GRADE PB_GRADE ,zab.PB_USER PB_USER ,zab.PB_QTY PB_QTY ,zab.REPAIR_DATE_TIME REPAIR_DATE_TIME ,
|
|
|
|
|
zab.DISCOVER DISCOVER ,zab.INSPECTOR INSPECTOR ,zab.ENTITY_LOCATION ENTITY_LOCATION ,zab.REPORT_FROM REPORT_FROM ,
|
|
|
|
|
zab.OBJECT_BO OBJECT_BO ,zab.PB_PHOTOSHOP PB_PHOTOSHOP ,zab.CANCEL_CODE CANCEL_CODE ,zab.CANCEL_REASON CANCEL_REASON ,
|
|
|
|
|
zab.CANCEL_DATE_TIME CANCEL_DATE_TIME ,zab.CANCEL_USER CANCEL_USER ,zabd.DUTY_USER DUTY_USER,zabd.DUTY_DATE_TIME DUTY_DATE_TIME,
|
|
|
|
|
zabd.DUTY_DEPART DUTY_DEPART,zabd.PRINCIPAL_USER PRINCIPAL_USER,zabd.DUTY_CAUSE_DESCRIPTION DUTY_CAUSE_DESCRIPTION,
|
|
|
|
|
zabd.DUTY_CAUSE_TYPE DUTY_CAUSE_TYPE,zabd.DUTY_TYPE DUTY_TYPE,zabd.DUTY_SEND_USER_GROUP DUTY_SEND_USER_GROUP,
|
|
|
|
|
zabd.RESOLVE_USER RESOLVE_USER,zabd.RESOLVE_DATE_TIME RESOLVE_DATE_TIME,zabd.ABNORMAL_METHOD ABNORMAL_METHOD,
|
|
|
|
|
zabd.ROUTER_BO ROUTER_BO,zabd.RESOLVE_SHOP_ORDER RESOLVE_SHOP_ORDER,zabd.RESOLVE_REMARK RESOLVE_REMARK,
|
|
|
|
|
zabd.RESOLVE_SEND_USER RESOLVE_SEND_USER,zabd.CLOSED_USER CLOSED_USER,zabd.CLOSED_DATE_TIME CLOSED_DATE_TIME,
|
|
|
|
|
zabd.ABNORMAL_REASON ABNORMAL_REASON,zabd.BEFORE_MEASURE BEFORE_MEASURE,zab.REPORT_SEND_USER_GROUP REPORT_SEND_USER_GROUP,
|
|
|
|
|
zab.CANCEL_SEND_USER_GROUP CANCEL_SEND_USER_GROUP
|
|
|
|
|
FROM Z_ABNORMAL_BILL zab
|
|
|
|
|
INNER JOIN Z_ABNORMAL_BILL_DISPOSE zabd ON zab.HANDLE = zabd.ABNORMAL_BILL_BO
|
|
|
|
|
<where>
|
|
|
|
@ -1158,9 +1193,11 @@
|
|
|
|
|
ZAB.SITE = #{abnormalBill.site}
|
|
|
|
|
</if>
|
|
|
|
|
<if test="abnormalBill.abnormalNo != null and abnormalBill.abnormalNo != ''">
|
|
|
|
|
AND ZAB.ABNORMAL_NO = #{abnormalBill.abnormalNo}
|
|
|
|
|
AND ZAB.ABNORMAL_NO = #{abnormalBill.abnormalNo}
|
|
|
|
|
</if>
|
|
|
|
|
</if>
|
|
|
|
|
</where>
|
|
|
|
|
</select>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</mapper>
|
|
|
|
|