|
|
|
@ -36,15 +36,14 @@
|
|
|
|
|
<result column="CANCEL_REASON" property="cancelReason" />
|
|
|
|
|
<result column="CANCEL_DATE_TIME" property="cancelDateTime" />
|
|
|
|
|
<result column="CANCEL_USER" property="cancelUser" />
|
|
|
|
|
<result column="REPORT__SEND_USER_GROUP" property="reportSendUserGroup" />
|
|
|
|
|
<result column="CANCEL__SEND_USER_GROUP" property="cancelSendUserGroup" />
|
|
|
|
|
<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_DATE_TIME" property="createdDateTime" />
|
|
|
|
|
<result column="MODIFIED_USER" property="modifiedUser" />
|
|
|
|
|
<result column="MODIFIED_DATE_TIME" property="modifiedDateTime" />
|
|
|
|
|
</resultMap>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<resultMap id="abnormalBillDto" type="com.foreverwin.mesnac.anomaly.dto.AbnormalBillDto" extends="BaseResultMap">
|
|
|
|
|
<result column="SEQ" property="seq"/>
|
|
|
|
|
<result column="ITEM_DESCRIPTION" property="itemDescription"/>
|
|
|
|
@ -58,10 +57,9 @@
|
|
|
|
|
<result column="RESOLVE_REMARK" property="resolveRemark"/>
|
|
|
|
|
</resultMap>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- 通用查询结果列 -->
|
|
|
|
|
<sql id="Base_Column_List">
|
|
|
|
|
HANDLE, SITE, ABNORMAL_NO, STATUS, TYPE, ITEM_BO, SFC, OPERATION, WORK_CENTER, SHOP_ORDER, MESSAGE_TYPE, RESRCE, NC_CODE, 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, REPORT__SEND_USER_GROUP, CANCEL__SEND_USER_GROUP, CREATED_USER, CREATED_DATE_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, 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, REPORT_SEND_USER_GROUP, CANCEL_SEND_USER_GROUP, CREATED_USER, CREATED_DATE_TIME, MODIFIED_USER, MODIFIED_DATE_TIME
|
|
|
|
|
</sql>
|
|
|
|
|
|
|
|
|
|
<!-- BaseMapper标准查询/修改/删除 -->
|
|
|
|
@ -127,8 +125,8 @@
|
|
|
|
|
<if test="ew.entity.cancelReason!=null"> AND CANCEL_REASON=#{ew.entity.cancelReason}</if>
|
|
|
|
|
<if test="ew.entity.cancelDateTime!=null"> AND CANCEL_DATE_TIME=#{ew.entity.cancelDateTime}</if>
|
|
|
|
|
<if test="ew.entity.cancelUser!=null"> AND CANCEL_USER=#{ew.entity.cancelUser}</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.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.createdDateTime!=null"> AND CREATED_DATE_TIME=#{ew.entity.createdDateTime}</if>
|
|
|
|
|
<if test="ew.entity.modifiedUser!=null"> AND MODIFIED_USER=#{ew.entity.modifiedUser}</if>
|
|
|
|
@ -175,8 +173,8 @@
|
|
|
|
|
<if test="ew.entity.cancelReason!=null"> AND CANCEL_REASON=#{ew.entity.cancelReason}</if>
|
|
|
|
|
<if test="ew.entity.cancelDateTime!=null"> AND CANCEL_DATE_TIME=#{ew.entity.cancelDateTime}</if>
|
|
|
|
|
<if test="ew.entity.cancelUser!=null"> AND CANCEL_USER=#{ew.entity.cancelUser}</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.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.createdDateTime!=null"> AND CREATED_DATE_TIME=#{ew.entity.createdDateTime}</if>
|
|
|
|
|
<if test="ew.entity.modifiedUser!=null"> AND MODIFIED_USER=#{ew.entity.modifiedUser}</if>
|
|
|
|
@ -231,8 +229,8 @@
|
|
|
|
|
<if test="ew.entity.cancelReason!=null"> AND CANCEL_REASON=#{ew.entity.cancelReason}</if>
|
|
|
|
|
<if test="ew.entity.cancelDateTime!=null"> AND CANCEL_DATE_TIME=#{ew.entity.cancelDateTime}</if>
|
|
|
|
|
<if test="ew.entity.cancelUser!=null"> AND CANCEL_USER=#{ew.entity.cancelUser}</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.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.createdDateTime!=null"> AND CREATED_DATE_TIME=#{ew.entity.createdDateTime}</if>
|
|
|
|
|
<if test="ew.entity.modifiedUser!=null"> AND MODIFIED_USER=#{ew.entity.modifiedUser}</if>
|
|
|
|
@ -287,8 +285,8 @@
|
|
|
|
|
<if test="ew.entity.cancelReason!=null"> AND CANCEL_REASON=#{ew.entity.cancelReason}</if>
|
|
|
|
|
<if test="ew.entity.cancelDateTime!=null"> AND CANCEL_DATE_TIME=#{ew.entity.cancelDateTime}</if>
|
|
|
|
|
<if test="ew.entity.cancelUser!=null"> AND CANCEL_USER=#{ew.entity.cancelUser}</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.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.createdDateTime!=null"> AND CREATED_DATE_TIME=#{ew.entity.createdDateTime}</if>
|
|
|
|
|
<if test="ew.entity.modifiedUser!=null"> AND MODIFIED_USER=#{ew.entity.modifiedUser}</if>
|
|
|
|
@ -343,8 +341,8 @@
|
|
|
|
|
<if test="ew.entity.cancelReason!=null"> AND CANCEL_REASON=#{ew.entity.cancelReason}</if>
|
|
|
|
|
<if test="ew.entity.cancelDateTime!=null"> AND CANCEL_DATE_TIME=#{ew.entity.cancelDateTime}</if>
|
|
|
|
|
<if test="ew.entity.cancelUser!=null"> AND CANCEL_USER=#{ew.entity.cancelUser}</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.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.createdDateTime!=null"> AND CREATED_DATE_TIME=#{ew.entity.createdDateTime}</if>
|
|
|
|
|
<if test="ew.entity.modifiedUser!=null"> AND MODIFIED_USER=#{ew.entity.modifiedUser}</if>
|
|
|
|
@ -399,8 +397,8 @@
|
|
|
|
|
<if test="ew.entity.cancelReason!=null"> AND CANCEL_REASON=#{ew.entity.cancelReason}</if>
|
|
|
|
|
<if test="ew.entity.cancelDateTime!=null"> AND CANCEL_DATE_TIME=#{ew.entity.cancelDateTime}</if>
|
|
|
|
|
<if test="ew.entity.cancelUser!=null"> AND CANCEL_USER=#{ew.entity.cancelUser}</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.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.createdDateTime!=null"> AND CREATED_DATE_TIME=#{ew.entity.createdDateTime}</if>
|
|
|
|
|
<if test="ew.entity.modifiedUser!=null"> AND MODIFIED_USER=#{ew.entity.modifiedUser}</if>
|
|
|
|
@ -455,8 +453,8 @@
|
|
|
|
|
<if test="ew.entity.cancelReason!=null"> AND CANCEL_REASON=#{ew.entity.cancelReason}</if>
|
|
|
|
|
<if test="ew.entity.cancelDateTime!=null"> AND CANCEL_DATE_TIME=#{ew.entity.cancelDateTime}</if>
|
|
|
|
|
<if test="ew.entity.cancelUser!=null"> AND CANCEL_USER=#{ew.entity.cancelUser}</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.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.createdDateTime!=null"> AND CREATED_DATE_TIME=#{ew.entity.createdDateTime}</if>
|
|
|
|
|
<if test="ew.entity.modifiedUser!=null"> AND MODIFIED_USER=#{ew.entity.modifiedUser}</if>
|
|
|
|
@ -507,8 +505,8 @@
|
|
|
|
|
<if test="cancelReason!=null">CANCEL_REASON,</if>
|
|
|
|
|
<if test="cancelDateTime!=null">CANCEL_DATE_TIME,</if>
|
|
|
|
|
<if test="cancelUser!=null">CANCEL_USER,</if>
|
|
|
|
|
<if test="reportSendUserGroup!=null">REPORT__SEND_USER_GROUP,</if>
|
|
|
|
|
<if test="cancelSendUserGroup!=null">CANCEL__SEND_USER_GROUP,</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="createdDateTime!=null">CREATED_DATE_TIME,</if>
|
|
|
|
|
<if test="modifiedUser!=null">MODIFIED_USER,</if>
|
|
|
|
@ -637,8 +635,8 @@
|
|
|
|
|
<if test="et.cancelReason!=null">CANCEL_REASON=#{et.cancelReason},</if>
|
|
|
|
|
<if test="et.cancelDateTime!=null">CANCEL_DATE_TIME=#{et.cancelDateTime},</if>
|
|
|
|
|
<if test="et.cancelUser!=null">CANCEL_USER=#{et.cancelUser},</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.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.createdDateTime!=null">CREATED_DATE_TIME=#{et.createdDateTime},</if>
|
|
|
|
|
<if test="et.modifiedUser!=null">MODIFIED_USER=#{et.modifiedUser},</if>
|
|
|
|
@ -680,8 +678,8 @@
|
|
|
|
|
CANCEL_REASON=#{et.cancelReason},
|
|
|
|
|
CANCEL_DATE_TIME=#{et.cancelDateTime},
|
|
|
|
|
CANCEL_USER=#{et.cancelUser},
|
|
|
|
|
REPORT__SEND_USER_GROUP=#{et.reportSendUserGroup},
|
|
|
|
|
CANCEL__SEND_USER_GROUP=#{et.cancelSendUserGroup},
|
|
|
|
|
REPORT_SEND_USER_GROUP=#{et.reportSendUserGroup},
|
|
|
|
|
CANCEL_SEND_USER_GROUP=#{et.cancelSendUserGroup},
|
|
|
|
|
CREATED_USER=#{et.createdUser},
|
|
|
|
|
CREATED_DATE_TIME=#{et.createdDateTime},
|
|
|
|
|
MODIFIED_USER=#{et.modifiedUser},
|
|
|
|
@ -723,8 +721,8 @@
|
|
|
|
|
<if test="et.cancelReason!=null">CANCEL_REASON=#{et.cancelReason},</if>
|
|
|
|
|
<if test="et.cancelDateTime!=null">CANCEL_DATE_TIME=#{et.cancelDateTime},</if>
|
|
|
|
|
<if test="et.cancelUser!=null">CANCEL_USER=#{et.cancelUser},</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.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.createdDateTime!=null">CREATED_DATE_TIME=#{et.createdDateTime},</if>
|
|
|
|
|
<if test="et.modifiedUser!=null">MODIFIED_USER=#{et.modifiedUser},</if>
|
|
|
|
@ -765,8 +763,8 @@
|
|
|
|
|
<if test="ew.entity.cancelReason!=null"> AND CANCEL_REASON=#{ew.entity.cancelReason}</if>
|
|
|
|
|
<if test="ew.entity.cancelDateTime!=null"> AND CANCEL_DATE_TIME=#{ew.entity.cancelDateTime}</if>
|
|
|
|
|
<if test="ew.entity.cancelUser!=null"> AND CANCEL_USER=#{ew.entity.cancelUser}</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.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.createdDateTime!=null"> AND CREATED_DATE_TIME=#{ew.entity.createdDateTime}</if>
|
|
|
|
|
<if test="ew.entity.modifiedUser!=null"> AND MODIFIED_USER=#{ew.entity.modifiedUser}</if>
|
|
|
|
@ -838,8 +836,8 @@
|
|
|
|
|
<if test="ew.entity.cancelReason!=null"> AND CANCEL_REASON=#{ew.entity.cancelReason}</if>
|
|
|
|
|
<if test="ew.entity.cancelDateTime!=null"> AND CANCEL_DATE_TIME=#{ew.entity.cancelDateTime}</if>
|
|
|
|
|
<if test="ew.entity.cancelUser!=null"> AND CANCEL_USER=#{ew.entity.cancelUser}</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.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.createdDateTime!=null"> AND CREATED_DATE_TIME=#{ew.entity.createdDateTime}</if>
|
|
|
|
|
<if test="ew.entity.modifiedUser!=null"> AND MODIFIED_USER=#{ew.entity.modifiedUser}</if>
|
|
|
|
@ -957,4 +955,5 @@
|
|
|
|
|
</where>
|
|
|
|
|
</select>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</mapper>
|
|
|
|
|