|
|
@ -26,7 +26,7 @@
|
|
|
|
<result column="PB_QTY" property="pbQty" />
|
|
|
|
<result column="PB_QTY" property="pbQty" />
|
|
|
|
<result column="REPAIR_DATE_TIME" property="repairDateTime" />
|
|
|
|
<result column="REPAIR_DATE_TIME" property="repairDateTime" />
|
|
|
|
<result column="DISCOVER" property="discover" />
|
|
|
|
<result column="DISCOVER" property="discover" />
|
|
|
|
<result column="INSPECTER" property="inspecter" />
|
|
|
|
<result column="INSPECTOR" property="inspector" />
|
|
|
|
<result column="ENTITY_LOCATION" property="entityLocation" />
|
|
|
|
<result column="ENTITY_LOCATION" property="entityLocation" />
|
|
|
|
<result column="REPORT_FROM" property="reportFrom" />
|
|
|
|
<result column="REPORT_FROM" property="reportFrom" />
|
|
|
|
<result column="OBJECT_BO" property="objectBo" />
|
|
|
|
<result column="OBJECT_BO" property="objectBo" />
|
|
|
@ -36,14 +36,21 @@
|
|
|
|
<result column="CANCEL_DATE_TIME" property="cancelDateTime" />
|
|
|
|
<result column="CANCEL_DATE_TIME" property="cancelDateTime" />
|
|
|
|
<result column="CANCEL_USER" property="cancelUser" />
|
|
|
|
<result column="CANCEL_USER" property="cancelUser" />
|
|
|
|
<result column="CREATED_USER" property="createdUser" />
|
|
|
|
<result column="CREATED_USER" property="createdUser" />
|
|
|
|
<result column="CREATED_DATA_TIME" property="createdDataTime" />
|
|
|
|
<result column="CREATED_DATE_TIME" property="createdDateTime" />
|
|
|
|
<result column="MODIFIED_USER" property="modifiedUser" />
|
|
|
|
<result column="MODIFIED_USER" property="modifiedUser" />
|
|
|
|
<result column="MODIFIED_DATE_TIME" property="modifiedDateTime" />
|
|
|
|
<result column="MODIFIED_DATE_TIME" property="modifiedDateTime" />
|
|
|
|
</resultMap>
|
|
|
|
</resultMap>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<resultMap id="abnormalBillDto" type="com.foreverwin.mesnac.anomaly.dto.AbnormalBillDto" extends="BaseResultMap">
|
|
|
|
|
|
|
|
<result column="SEQ" property="seq"/>
|
|
|
|
|
|
|
|
<result column="ITEM_DESCRIPTION" property="itemDescription"/>
|
|
|
|
|
|
|
|
<result column="START_DATE_TIME" property="startDateTime"/>
|
|
|
|
|
|
|
|
<result column="END_DATE_TIME" property="endDateTime"/>
|
|
|
|
|
|
|
|
</resultMap>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- 通用查询结果列 -->
|
|
|
|
<!-- 通用查询结果列 -->
|
|
|
|
<sql id="Base_Column_List">
|
|
|
|
<sql id="Base_Column_List">
|
|
|
|
HANDLE, SITE, ABNORMAL_NO, STATUS, TYPE, ITEM_BO, SFC, 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, INSPECTER, ENTITY_LOCATION, REPORT_FROM, OBJECT_BO, PB_PHOTOSHOP, CANCEL_CODE, CANCEL_REASON, CANCEL_DATE_TIME, CANCEL_USER, CREATED_USER, CREATED_DATA_TIME, MODIFIED_USER, MODIFIED_DATE_TIME
|
|
|
|
HANDLE, SITE, ABNORMAL_NO, STATUS, TYPE, ITEM_BO, SFC, 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, CREATED_USER, CREATED_DATE_TIME, MODIFIED_USER, MODIFIED_DATE_TIME
|
|
|
|
</sql>
|
|
|
|
</sql>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- BaseMapper标准查询/修改/删除 -->
|
|
|
|
<!-- BaseMapper标准查询/修改/删除 -->
|
|
|
@ -99,7 +106,7 @@
|
|
|
|
<if test="ew.entity.pbQty!=null"> AND PB_QTY=#{ew.entity.pbQty}</if>
|
|
|
|
<if test="ew.entity.pbQty!=null"> AND PB_QTY=#{ew.entity.pbQty}</if>
|
|
|
|
<if test="ew.entity.repairDateTime!=null"> AND REPAIR_DATE_TIME=#{ew.entity.repairDateTime}</if>
|
|
|
|
<if test="ew.entity.repairDateTime!=null"> AND REPAIR_DATE_TIME=#{ew.entity.repairDateTime}</if>
|
|
|
|
<if test="ew.entity.discover!=null"> AND DISCOVER=#{ew.entity.discover}</if>
|
|
|
|
<if test="ew.entity.discover!=null"> AND DISCOVER=#{ew.entity.discover}</if>
|
|
|
|
<if test="ew.entity.inspecter!=null"> AND INSPECTER=#{ew.entity.inspecter}</if>
|
|
|
|
<if test="ew.entity.inspector!=null"> AND INSPECTOR=#{ew.entity.inspector}</if>
|
|
|
|
<if test="ew.entity.entityLocation!=null"> AND ENTITY_LOCATION=#{ew.entity.entityLocation}</if>
|
|
|
|
<if test="ew.entity.entityLocation!=null"> AND ENTITY_LOCATION=#{ew.entity.entityLocation}</if>
|
|
|
|
<if test="ew.entity.reportFrom!=null"> AND REPORT_FROM=#{ew.entity.reportFrom}</if>
|
|
|
|
<if test="ew.entity.reportFrom!=null"> AND REPORT_FROM=#{ew.entity.reportFrom}</if>
|
|
|
|
<if test="ew.entity.objectBo!=null"> AND OBJECT_BO=#{ew.entity.objectBo}</if>
|
|
|
|
<if test="ew.entity.objectBo!=null"> AND OBJECT_BO=#{ew.entity.objectBo}</if>
|
|
|
@ -109,7 +116,7 @@
|
|
|
|
<if test="ew.entity.cancelDateTime!=null"> AND CANCEL_DATE_TIME=#{ew.entity.cancelDateTime}</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.cancelUser!=null"> AND CANCEL_USER=#{ew.entity.cancelUser}</if>
|
|
|
|
<if test="ew.entity.createdUser!=null"> AND CREATED_USER=#{ew.entity.createdUser}</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.createdDateTime!=null"> AND CREATED_DATE_TIME=#{ew.entity.createdDateTime}</if>
|
|
|
|
<if test="ew.entity.modifiedUser!=null"> AND MODIFIED_USER=#{ew.entity.modifiedUser}</if>
|
|
|
|
<if test="ew.entity.modifiedUser!=null"> AND MODIFIED_USER=#{ew.entity.modifiedUser}</if>
|
|
|
|
<if test="ew.entity.modifiedDateTime!=null"> AND MODIFIED_DATE_TIME=#{ew.entity.modifiedDateTime}</if>
|
|
|
|
<if test="ew.entity.modifiedDateTime!=null"> AND MODIFIED_DATE_TIME=#{ew.entity.modifiedDateTime}</if>
|
|
|
|
</where>
|
|
|
|
</where>
|
|
|
@ -144,7 +151,7 @@
|
|
|
|
<if test="ew.entity.pbQty!=null"> AND PB_QTY=#{ew.entity.pbQty}</if>
|
|
|
|
<if test="ew.entity.pbQty!=null"> AND PB_QTY=#{ew.entity.pbQty}</if>
|
|
|
|
<if test="ew.entity.repairDateTime!=null"> AND REPAIR_DATE_TIME=#{ew.entity.repairDateTime}</if>
|
|
|
|
<if test="ew.entity.repairDateTime!=null"> AND REPAIR_DATE_TIME=#{ew.entity.repairDateTime}</if>
|
|
|
|
<if test="ew.entity.discover!=null"> AND DISCOVER=#{ew.entity.discover}</if>
|
|
|
|
<if test="ew.entity.discover!=null"> AND DISCOVER=#{ew.entity.discover}</if>
|
|
|
|
<if test="ew.entity.inspecter!=null"> AND INSPECTER=#{ew.entity.inspecter}</if>
|
|
|
|
<if test="ew.entity.inspector!=null"> AND INSPECTOR=#{ew.entity.inspector}</if>
|
|
|
|
<if test="ew.entity.entityLocation!=null"> AND ENTITY_LOCATION=#{ew.entity.entityLocation}</if>
|
|
|
|
<if test="ew.entity.entityLocation!=null"> AND ENTITY_LOCATION=#{ew.entity.entityLocation}</if>
|
|
|
|
<if test="ew.entity.reportFrom!=null"> AND REPORT_FROM=#{ew.entity.reportFrom}</if>
|
|
|
|
<if test="ew.entity.reportFrom!=null"> AND REPORT_FROM=#{ew.entity.reportFrom}</if>
|
|
|
|
<if test="ew.entity.objectBo!=null"> AND OBJECT_BO=#{ew.entity.objectBo}</if>
|
|
|
|
<if test="ew.entity.objectBo!=null"> AND OBJECT_BO=#{ew.entity.objectBo}</if>
|
|
|
@ -154,7 +161,7 @@
|
|
|
|
<if test="ew.entity.cancelDateTime!=null"> AND CANCEL_DATE_TIME=#{ew.entity.cancelDateTime}</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.cancelUser!=null"> AND CANCEL_USER=#{ew.entity.cancelUser}</if>
|
|
|
|
<if test="ew.entity.createdUser!=null"> AND CREATED_USER=#{ew.entity.createdUser}</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.createdDateTime!=null"> AND CREATED_DATE_TIME=#{ew.entity.createdDateTime}</if>
|
|
|
|
<if test="ew.entity.modifiedUser!=null"> AND MODIFIED_USER=#{ew.entity.modifiedUser}</if>
|
|
|
|
<if test="ew.entity.modifiedUser!=null"> AND MODIFIED_USER=#{ew.entity.modifiedUser}</if>
|
|
|
|
<if test="ew.entity.modifiedDateTime!=null"> AND MODIFIED_DATE_TIME=#{ew.entity.modifiedDateTime}</if>
|
|
|
|
<if test="ew.entity.modifiedDateTime!=null"> AND MODIFIED_DATE_TIME=#{ew.entity.modifiedDateTime}</if>
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
@ -197,7 +204,7 @@
|
|
|
|
<if test="ew.entity.pbQty!=null"> AND PB_QTY=#{ew.entity.pbQty}</if>
|
|
|
|
<if test="ew.entity.pbQty!=null"> AND PB_QTY=#{ew.entity.pbQty}</if>
|
|
|
|
<if test="ew.entity.repairDateTime!=null"> AND REPAIR_DATE_TIME=#{ew.entity.repairDateTime}</if>
|
|
|
|
<if test="ew.entity.repairDateTime!=null"> AND REPAIR_DATE_TIME=#{ew.entity.repairDateTime}</if>
|
|
|
|
<if test="ew.entity.discover!=null"> AND DISCOVER=#{ew.entity.discover}</if>
|
|
|
|
<if test="ew.entity.discover!=null"> AND DISCOVER=#{ew.entity.discover}</if>
|
|
|
|
<if test="ew.entity.inspecter!=null"> AND INSPECTER=#{ew.entity.inspecter}</if>
|
|
|
|
<if test="ew.entity.inspector!=null"> AND INSPECTOR=#{ew.entity.inspector}</if>
|
|
|
|
<if test="ew.entity.entityLocation!=null"> AND ENTITY_LOCATION=#{ew.entity.entityLocation}</if>
|
|
|
|
<if test="ew.entity.entityLocation!=null"> AND ENTITY_LOCATION=#{ew.entity.entityLocation}</if>
|
|
|
|
<if test="ew.entity.reportFrom!=null"> AND REPORT_FROM=#{ew.entity.reportFrom}</if>
|
|
|
|
<if test="ew.entity.reportFrom!=null"> AND REPORT_FROM=#{ew.entity.reportFrom}</if>
|
|
|
|
<if test="ew.entity.objectBo!=null"> AND OBJECT_BO=#{ew.entity.objectBo}</if>
|
|
|
|
<if test="ew.entity.objectBo!=null"> AND OBJECT_BO=#{ew.entity.objectBo}</if>
|
|
|
@ -207,7 +214,7 @@
|
|
|
|
<if test="ew.entity.cancelDateTime!=null"> AND CANCEL_DATE_TIME=#{ew.entity.cancelDateTime}</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.cancelUser!=null"> AND CANCEL_USER=#{ew.entity.cancelUser}</if>
|
|
|
|
<if test="ew.entity.createdUser!=null"> AND CREATED_USER=#{ew.entity.createdUser}</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.createdDateTime!=null"> AND CREATED_DATE_TIME=#{ew.entity.createdDateTime}</if>
|
|
|
|
<if test="ew.entity.modifiedUser!=null"> AND MODIFIED_USER=#{ew.entity.modifiedUser}</if>
|
|
|
|
<if test="ew.entity.modifiedUser!=null"> AND MODIFIED_USER=#{ew.entity.modifiedUser}</if>
|
|
|
|
<if test="ew.entity.modifiedDateTime!=null"> AND MODIFIED_DATE_TIME=#{ew.entity.modifiedDateTime}</if>
|
|
|
|
<if test="ew.entity.modifiedDateTime!=null"> AND MODIFIED_DATE_TIME=#{ew.entity.modifiedDateTime}</if>
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
@ -250,7 +257,7 @@
|
|
|
|
<if test="ew.entity.pbQty!=null"> AND PB_QTY=#{ew.entity.pbQty}</if>
|
|
|
|
<if test="ew.entity.pbQty!=null"> AND PB_QTY=#{ew.entity.pbQty}</if>
|
|
|
|
<if test="ew.entity.repairDateTime!=null"> AND REPAIR_DATE_TIME=#{ew.entity.repairDateTime}</if>
|
|
|
|
<if test="ew.entity.repairDateTime!=null"> AND REPAIR_DATE_TIME=#{ew.entity.repairDateTime}</if>
|
|
|
|
<if test="ew.entity.discover!=null"> AND DISCOVER=#{ew.entity.discover}</if>
|
|
|
|
<if test="ew.entity.discover!=null"> AND DISCOVER=#{ew.entity.discover}</if>
|
|
|
|
<if test="ew.entity.inspecter!=null"> AND INSPECTER=#{ew.entity.inspecter}</if>
|
|
|
|
<if test="ew.entity.inspector!=null"> AND INSPECTOR=#{ew.entity.inspector}</if>
|
|
|
|
<if test="ew.entity.entityLocation!=null"> AND ENTITY_LOCATION=#{ew.entity.entityLocation}</if>
|
|
|
|
<if test="ew.entity.entityLocation!=null"> AND ENTITY_LOCATION=#{ew.entity.entityLocation}</if>
|
|
|
|
<if test="ew.entity.reportFrom!=null"> AND REPORT_FROM=#{ew.entity.reportFrom}</if>
|
|
|
|
<if test="ew.entity.reportFrom!=null"> AND REPORT_FROM=#{ew.entity.reportFrom}</if>
|
|
|
|
<if test="ew.entity.objectBo!=null"> AND OBJECT_BO=#{ew.entity.objectBo}</if>
|
|
|
|
<if test="ew.entity.objectBo!=null"> AND OBJECT_BO=#{ew.entity.objectBo}</if>
|
|
|
@ -260,7 +267,7 @@
|
|
|
|
<if test="ew.entity.cancelDateTime!=null"> AND CANCEL_DATE_TIME=#{ew.entity.cancelDateTime}</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.cancelUser!=null"> AND CANCEL_USER=#{ew.entity.cancelUser}</if>
|
|
|
|
<if test="ew.entity.createdUser!=null"> AND CREATED_USER=#{ew.entity.createdUser}</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.createdDateTime!=null"> AND CREATED_DATE_TIME=#{ew.entity.createdDateTime}</if>
|
|
|
|
<if test="ew.entity.modifiedUser!=null"> AND MODIFIED_USER=#{ew.entity.modifiedUser}</if>
|
|
|
|
<if test="ew.entity.modifiedUser!=null"> AND MODIFIED_USER=#{ew.entity.modifiedUser}</if>
|
|
|
|
<if test="ew.entity.modifiedDateTime!=null"> AND MODIFIED_DATE_TIME=#{ew.entity.modifiedDateTime}</if>
|
|
|
|
<if test="ew.entity.modifiedDateTime!=null"> AND MODIFIED_DATE_TIME=#{ew.entity.modifiedDateTime}</if>
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
@ -303,7 +310,7 @@
|
|
|
|
<if test="ew.entity.pbQty!=null"> AND PB_QTY=#{ew.entity.pbQty}</if>
|
|
|
|
<if test="ew.entity.pbQty!=null"> AND PB_QTY=#{ew.entity.pbQty}</if>
|
|
|
|
<if test="ew.entity.repairDateTime!=null"> AND REPAIR_DATE_TIME=#{ew.entity.repairDateTime}</if>
|
|
|
|
<if test="ew.entity.repairDateTime!=null"> AND REPAIR_DATE_TIME=#{ew.entity.repairDateTime}</if>
|
|
|
|
<if test="ew.entity.discover!=null"> AND DISCOVER=#{ew.entity.discover}</if>
|
|
|
|
<if test="ew.entity.discover!=null"> AND DISCOVER=#{ew.entity.discover}</if>
|
|
|
|
<if test="ew.entity.inspecter!=null"> AND INSPECTER=#{ew.entity.inspecter}</if>
|
|
|
|
<if test="ew.entity.inspector!=null"> AND INSPECTOR=#{ew.entity.inspector}</if>
|
|
|
|
<if test="ew.entity.entityLocation!=null"> AND ENTITY_LOCATION=#{ew.entity.entityLocation}</if>
|
|
|
|
<if test="ew.entity.entityLocation!=null"> AND ENTITY_LOCATION=#{ew.entity.entityLocation}</if>
|
|
|
|
<if test="ew.entity.reportFrom!=null"> AND REPORT_FROM=#{ew.entity.reportFrom}</if>
|
|
|
|
<if test="ew.entity.reportFrom!=null"> AND REPORT_FROM=#{ew.entity.reportFrom}</if>
|
|
|
|
<if test="ew.entity.objectBo!=null"> AND OBJECT_BO=#{ew.entity.objectBo}</if>
|
|
|
|
<if test="ew.entity.objectBo!=null"> AND OBJECT_BO=#{ew.entity.objectBo}</if>
|
|
|
@ -313,7 +320,7 @@
|
|
|
|
<if test="ew.entity.cancelDateTime!=null"> AND CANCEL_DATE_TIME=#{ew.entity.cancelDateTime}</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.cancelUser!=null"> AND CANCEL_USER=#{ew.entity.cancelUser}</if>
|
|
|
|
<if test="ew.entity.createdUser!=null"> AND CREATED_USER=#{ew.entity.createdUser}</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.createdDateTime!=null"> AND CREATED_DATE_TIME=#{ew.entity.createdDateTime}</if>
|
|
|
|
<if test="ew.entity.modifiedUser!=null"> AND MODIFIED_USER=#{ew.entity.modifiedUser}</if>
|
|
|
|
<if test="ew.entity.modifiedUser!=null"> AND MODIFIED_USER=#{ew.entity.modifiedUser}</if>
|
|
|
|
<if test="ew.entity.modifiedDateTime!=null"> AND MODIFIED_DATE_TIME=#{ew.entity.modifiedDateTime}</if>
|
|
|
|
<if test="ew.entity.modifiedDateTime!=null"> AND MODIFIED_DATE_TIME=#{ew.entity.modifiedDateTime}</if>
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
@ -356,7 +363,7 @@
|
|
|
|
<if test="ew.entity.pbQty!=null"> AND PB_QTY=#{ew.entity.pbQty}</if>
|
|
|
|
<if test="ew.entity.pbQty!=null"> AND PB_QTY=#{ew.entity.pbQty}</if>
|
|
|
|
<if test="ew.entity.repairDateTime!=null"> AND REPAIR_DATE_TIME=#{ew.entity.repairDateTime}</if>
|
|
|
|
<if test="ew.entity.repairDateTime!=null"> AND REPAIR_DATE_TIME=#{ew.entity.repairDateTime}</if>
|
|
|
|
<if test="ew.entity.discover!=null"> AND DISCOVER=#{ew.entity.discover}</if>
|
|
|
|
<if test="ew.entity.discover!=null"> AND DISCOVER=#{ew.entity.discover}</if>
|
|
|
|
<if test="ew.entity.inspecter!=null"> AND INSPECTER=#{ew.entity.inspecter}</if>
|
|
|
|
<if test="ew.entity.inspector!=null"> AND INSPECTOR=#{ew.entity.inspector}</if>
|
|
|
|
<if test="ew.entity.entityLocation!=null"> AND ENTITY_LOCATION=#{ew.entity.entityLocation}</if>
|
|
|
|
<if test="ew.entity.entityLocation!=null"> AND ENTITY_LOCATION=#{ew.entity.entityLocation}</if>
|
|
|
|
<if test="ew.entity.reportFrom!=null"> AND REPORT_FROM=#{ew.entity.reportFrom}</if>
|
|
|
|
<if test="ew.entity.reportFrom!=null"> AND REPORT_FROM=#{ew.entity.reportFrom}</if>
|
|
|
|
<if test="ew.entity.objectBo!=null"> AND OBJECT_BO=#{ew.entity.objectBo}</if>
|
|
|
|
<if test="ew.entity.objectBo!=null"> AND OBJECT_BO=#{ew.entity.objectBo}</if>
|
|
|
@ -366,7 +373,7 @@
|
|
|
|
<if test="ew.entity.cancelDateTime!=null"> AND CANCEL_DATE_TIME=#{ew.entity.cancelDateTime}</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.cancelUser!=null"> AND CANCEL_USER=#{ew.entity.cancelUser}</if>
|
|
|
|
<if test="ew.entity.createdUser!=null"> AND CREATED_USER=#{ew.entity.createdUser}</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.createdDateTime!=null"> AND CREATED_DATE_TIME=#{ew.entity.createdDateTime}</if>
|
|
|
|
<if test="ew.entity.modifiedUser!=null"> AND MODIFIED_USER=#{ew.entity.modifiedUser}</if>
|
|
|
|
<if test="ew.entity.modifiedUser!=null"> AND MODIFIED_USER=#{ew.entity.modifiedUser}</if>
|
|
|
|
<if test="ew.entity.modifiedDateTime!=null"> AND MODIFIED_DATE_TIME=#{ew.entity.modifiedDateTime}</if>
|
|
|
|
<if test="ew.entity.modifiedDateTime!=null"> AND MODIFIED_DATE_TIME=#{ew.entity.modifiedDateTime}</if>
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
@ -409,7 +416,7 @@
|
|
|
|
<if test="ew.entity.pbQty!=null"> AND PB_QTY=#{ew.entity.pbQty}</if>
|
|
|
|
<if test="ew.entity.pbQty!=null"> AND PB_QTY=#{ew.entity.pbQty}</if>
|
|
|
|
<if test="ew.entity.repairDateTime!=null"> AND REPAIR_DATE_TIME=#{ew.entity.repairDateTime}</if>
|
|
|
|
<if test="ew.entity.repairDateTime!=null"> AND REPAIR_DATE_TIME=#{ew.entity.repairDateTime}</if>
|
|
|
|
<if test="ew.entity.discover!=null"> AND DISCOVER=#{ew.entity.discover}</if>
|
|
|
|
<if test="ew.entity.discover!=null"> AND DISCOVER=#{ew.entity.discover}</if>
|
|
|
|
<if test="ew.entity.inspecter!=null"> AND INSPECTER=#{ew.entity.inspecter}</if>
|
|
|
|
<if test="ew.entity.inspector!=null"> AND INSPECTOR=#{ew.entity.inspector}</if>
|
|
|
|
<if test="ew.entity.entityLocation!=null"> AND ENTITY_LOCATION=#{ew.entity.entityLocation}</if>
|
|
|
|
<if test="ew.entity.entityLocation!=null"> AND ENTITY_LOCATION=#{ew.entity.entityLocation}</if>
|
|
|
|
<if test="ew.entity.reportFrom!=null"> AND REPORT_FROM=#{ew.entity.reportFrom}</if>
|
|
|
|
<if test="ew.entity.reportFrom!=null"> AND REPORT_FROM=#{ew.entity.reportFrom}</if>
|
|
|
|
<if test="ew.entity.objectBo!=null"> AND OBJECT_BO=#{ew.entity.objectBo}</if>
|
|
|
|
<if test="ew.entity.objectBo!=null"> AND OBJECT_BO=#{ew.entity.objectBo}</if>
|
|
|
@ -419,7 +426,7 @@
|
|
|
|
<if test="ew.entity.cancelDateTime!=null"> AND CANCEL_DATE_TIME=#{ew.entity.cancelDateTime}</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.cancelUser!=null"> AND CANCEL_USER=#{ew.entity.cancelUser}</if>
|
|
|
|
<if test="ew.entity.createdUser!=null"> AND CREATED_USER=#{ew.entity.createdUser}</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.createdDateTime!=null"> AND CREATED_DATE_TIME=#{ew.entity.createdDateTime}</if>
|
|
|
|
<if test="ew.entity.modifiedUser!=null"> AND MODIFIED_USER=#{ew.entity.modifiedUser}</if>
|
|
|
|
<if test="ew.entity.modifiedUser!=null"> AND MODIFIED_USER=#{ew.entity.modifiedUser}</if>
|
|
|
|
<if test="ew.entity.modifiedDateTime!=null"> AND MODIFIED_DATE_TIME=#{ew.entity.modifiedDateTime}</if>
|
|
|
|
<if test="ew.entity.modifiedDateTime!=null"> AND MODIFIED_DATE_TIME=#{ew.entity.modifiedDateTime}</if>
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
@ -458,7 +465,7 @@
|
|
|
|
<if test="pbQty!=null">PB_QTY,</if>
|
|
|
|
<if test="pbQty!=null">PB_QTY,</if>
|
|
|
|
<if test="repairDateTime!=null">REPAIR_DATE_TIME,</if>
|
|
|
|
<if test="repairDateTime!=null">REPAIR_DATE_TIME,</if>
|
|
|
|
<if test="discover!=null">DISCOVER,</if>
|
|
|
|
<if test="discover!=null">DISCOVER,</if>
|
|
|
|
<if test="inspecter!=null">INSPECTER,</if>
|
|
|
|
<if test="inspector!=null">INSPECTOR,</if>
|
|
|
|
<if test="entityLocation!=null">ENTITY_LOCATION,</if>
|
|
|
|
<if test="entityLocation!=null">ENTITY_LOCATION,</if>
|
|
|
|
<if test="reportFrom!=null">REPORT_FROM,</if>
|
|
|
|
<if test="reportFrom!=null">REPORT_FROM,</if>
|
|
|
|
<if test="objectBo!=null">OBJECT_BO,</if>
|
|
|
|
<if test="objectBo!=null">OBJECT_BO,</if>
|
|
|
@ -468,7 +475,7 @@
|
|
|
|
<if test="cancelDateTime!=null">CANCEL_DATE_TIME,</if>
|
|
|
|
<if test="cancelDateTime!=null">CANCEL_DATE_TIME,</if>
|
|
|
|
<if test="cancelUser!=null">CANCEL_USER,</if>
|
|
|
|
<if test="cancelUser!=null">CANCEL_USER,</if>
|
|
|
|
<if test="createdUser!=null">CREATED_USER,</if>
|
|
|
|
<if test="createdUser!=null">CREATED_USER,</if>
|
|
|
|
<if test="createdDataTime!=null">CREATED_DATA_TIME,</if>
|
|
|
|
<if test="createdDateTime!=null">CREATED_DATE_TIME,</if>
|
|
|
|
<if test="modifiedUser!=null">MODIFIED_USER,</if>
|
|
|
|
<if test="modifiedUser!=null">MODIFIED_USER,</if>
|
|
|
|
<if test="modifiedDateTime!=null">MODIFIED_DATE_TIME,</if>
|
|
|
|
<if test="modifiedDateTime!=null">MODIFIED_DATE_TIME,</if>
|
|
|
|
</trim> VALUES
|
|
|
|
</trim> VALUES
|
|
|
@ -495,7 +502,7 @@
|
|
|
|
<if test="pbQty!=null">#{pbQty},</if>
|
|
|
|
<if test="pbQty!=null">#{pbQty},</if>
|
|
|
|
<if test="repairDateTime!=null">#{repairDateTime},</if>
|
|
|
|
<if test="repairDateTime!=null">#{repairDateTime},</if>
|
|
|
|
<if test="discover!=null">#{discover},</if>
|
|
|
|
<if test="discover!=null">#{discover},</if>
|
|
|
|
<if test="inspecter!=null">#{inspecter},</if>
|
|
|
|
<if test="inspector!=null">#{inspector},</if>
|
|
|
|
<if test="entityLocation!=null">#{entityLocation},</if>
|
|
|
|
<if test="entityLocation!=null">#{entityLocation},</if>
|
|
|
|
<if test="reportFrom!=null">#{reportFrom},</if>
|
|
|
|
<if test="reportFrom!=null">#{reportFrom},</if>
|
|
|
|
<if test="objectBo!=null">#{objectBo},</if>
|
|
|
|
<if test="objectBo!=null">#{objectBo},</if>
|
|
|
@ -505,7 +512,7 @@
|
|
|
|
<if test="cancelDateTime!=null">#{cancelDateTime},</if>
|
|
|
|
<if test="cancelDateTime!=null">#{cancelDateTime},</if>
|
|
|
|
<if test="cancelUser!=null">#{cancelUser},</if>
|
|
|
|
<if test="cancelUser!=null">#{cancelUser},</if>
|
|
|
|
<if test="createdUser!=null">#{createdUser},</if>
|
|
|
|
<if test="createdUser!=null">#{createdUser},</if>
|
|
|
|
<if test="createdDataTime!=null">#{createdDataTime},</if>
|
|
|
|
<if test="createdDateTime!=null">#{createdDateTime},</if>
|
|
|
|
<if test="modifiedUser!=null">#{modifiedUser},</if>
|
|
|
|
<if test="modifiedUser!=null">#{modifiedUser},</if>
|
|
|
|
<if test="modifiedDateTime!=null">#{modifiedDateTime},</if>
|
|
|
|
<if test="modifiedDateTime!=null">#{modifiedDateTime},</if>
|
|
|
|
</trim>
|
|
|
|
</trim>
|
|
|
@ -539,7 +546,7 @@
|
|
|
|
#{pbQty},
|
|
|
|
#{pbQty},
|
|
|
|
#{repairDateTime},
|
|
|
|
#{repairDateTime},
|
|
|
|
#{discover},
|
|
|
|
#{discover},
|
|
|
|
#{inspecter},
|
|
|
|
#{inspector},
|
|
|
|
#{entityLocation},
|
|
|
|
#{entityLocation},
|
|
|
|
#{reportFrom},
|
|
|
|
#{reportFrom},
|
|
|
|
#{objectBo},
|
|
|
|
#{objectBo},
|
|
|
@ -549,7 +556,7 @@
|
|
|
|
#{cancelDateTime},
|
|
|
|
#{cancelDateTime},
|
|
|
|
#{cancelUser},
|
|
|
|
#{cancelUser},
|
|
|
|
#{createdUser},
|
|
|
|
#{createdUser},
|
|
|
|
#{createdDataTime},
|
|
|
|
#{createdDateTime},
|
|
|
|
#{modifiedUser},
|
|
|
|
#{modifiedUser},
|
|
|
|
#{modifiedDateTime},
|
|
|
|
#{modifiedDateTime},
|
|
|
|
</trim>
|
|
|
|
</trim>
|
|
|
@ -579,7 +586,7 @@
|
|
|
|
<if test="et.pbQty!=null">PB_QTY=#{et.pbQty},</if>
|
|
|
|
<if test="et.pbQty!=null">PB_QTY=#{et.pbQty},</if>
|
|
|
|
<if test="et.repairDateTime!=null">REPAIR_DATE_TIME=#{et.repairDateTime},</if>
|
|
|
|
<if test="et.repairDateTime!=null">REPAIR_DATE_TIME=#{et.repairDateTime},</if>
|
|
|
|
<if test="et.discover!=null">DISCOVER=#{et.discover},</if>
|
|
|
|
<if test="et.discover!=null">DISCOVER=#{et.discover},</if>
|
|
|
|
<if test="et.inspecter!=null">INSPECTER=#{et.inspecter},</if>
|
|
|
|
<if test="et.inspector!=null">INSPECTOR=#{et.inspector},</if>
|
|
|
|
<if test="et.entityLocation!=null">ENTITY_LOCATION=#{et.entityLocation},</if>
|
|
|
|
<if test="et.entityLocation!=null">ENTITY_LOCATION=#{et.entityLocation},</if>
|
|
|
|
<if test="et.reportFrom!=null">REPORT_FROM=#{et.reportFrom},</if>
|
|
|
|
<if test="et.reportFrom!=null">REPORT_FROM=#{et.reportFrom},</if>
|
|
|
|
<if test="et.objectBo!=null">OBJECT_BO=#{et.objectBo},</if>
|
|
|
|
<if test="et.objectBo!=null">OBJECT_BO=#{et.objectBo},</if>
|
|
|
@ -589,7 +596,7 @@
|
|
|
|
<if test="et.cancelDateTime!=null">CANCEL_DATE_TIME=#{et.cancelDateTime},</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.cancelUser!=null">CANCEL_USER=#{et.cancelUser},</if>
|
|
|
|
<if test="et.createdUser!=null">CREATED_USER=#{et.createdUser},</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.createdDateTime!=null">CREATED_DATE_TIME=#{et.createdDateTime},</if>
|
|
|
|
<if test="et.modifiedUser!=null">MODIFIED_USER=#{et.modifiedUser},</if>
|
|
|
|
<if test="et.modifiedUser!=null">MODIFIED_USER=#{et.modifiedUser},</if>
|
|
|
|
<if test="et.modifiedDateTime!=null">MODIFIED_DATE_TIME=#{et.modifiedDateTime},</if>
|
|
|
|
<if test="et.modifiedDateTime!=null">MODIFIED_DATE_TIME=#{et.modifiedDateTime},</if>
|
|
|
|
</trim> WHERE HANDLE=#{et.handle} <if test="et instanceof java.util.Map"><if test="et.MP_OPTLOCK_VERSION_ORIGINAL!=null">and ${et.MP_OPTLOCK_VERSION_COLUMN}=#{et.MP_OPTLOCK_VERSION_ORIGINAL}</if></if>
|
|
|
|
</trim> WHERE HANDLE=#{et.handle} <if test="et instanceof java.util.Map"><if test="et.MP_OPTLOCK_VERSION_ORIGINAL!=null">and ${et.MP_OPTLOCK_VERSION_COLUMN}=#{et.MP_OPTLOCK_VERSION_ORIGINAL}</if></if>
|
|
|
@ -619,7 +626,7 @@
|
|
|
|
PB_QTY=#{et.pbQty},
|
|
|
|
PB_QTY=#{et.pbQty},
|
|
|
|
REPAIR_DATE_TIME=#{et.repairDateTime},
|
|
|
|
REPAIR_DATE_TIME=#{et.repairDateTime},
|
|
|
|
DISCOVER=#{et.discover},
|
|
|
|
DISCOVER=#{et.discover},
|
|
|
|
INSPECTER=#{et.inspecter},
|
|
|
|
INSPECTOR=#{et.inspector},
|
|
|
|
ENTITY_LOCATION=#{et.entityLocation},
|
|
|
|
ENTITY_LOCATION=#{et.entityLocation},
|
|
|
|
REPORT_FROM=#{et.reportFrom},
|
|
|
|
REPORT_FROM=#{et.reportFrom},
|
|
|
|
OBJECT_BO=#{et.objectBo},
|
|
|
|
OBJECT_BO=#{et.objectBo},
|
|
|
@ -629,7 +636,7 @@
|
|
|
|
CANCEL_DATE_TIME=#{et.cancelDateTime},
|
|
|
|
CANCEL_DATE_TIME=#{et.cancelDateTime},
|
|
|
|
CANCEL_USER=#{et.cancelUser},
|
|
|
|
CANCEL_USER=#{et.cancelUser},
|
|
|
|
CREATED_USER=#{et.createdUser},
|
|
|
|
CREATED_USER=#{et.createdUser},
|
|
|
|
CREATED_DATA_TIME=#{et.createdDataTime},
|
|
|
|
CREATED_DATE_TIME=#{et.createdDateTime},
|
|
|
|
MODIFIED_USER=#{et.modifiedUser},
|
|
|
|
MODIFIED_USER=#{et.modifiedUser},
|
|
|
|
MODIFIED_DATE_TIME=#{et.modifiedDateTime},
|
|
|
|
MODIFIED_DATE_TIME=#{et.modifiedDateTime},
|
|
|
|
</trim> WHERE HANDLE=#{et.handle} <if test="et instanceof java.util.Map"><if test="et.MP_OPTLOCK_VERSION_ORIGINAL!=null">and ${et.MP_OPTLOCK_VERSION_COLUMN}=#{et.MP_OPTLOCK_VERSION_ORIGINAL}</if></if>
|
|
|
|
</trim> WHERE HANDLE=#{et.handle} <if test="et instanceof java.util.Map"><if test="et.MP_OPTLOCK_VERSION_ORIGINAL!=null">and ${et.MP_OPTLOCK_VERSION_COLUMN}=#{et.MP_OPTLOCK_VERSION_ORIGINAL}</if></if>
|
|
|
@ -659,7 +666,7 @@
|
|
|
|
<if test="et.pbQty!=null">PB_QTY=#{et.pbQty},</if>
|
|
|
|
<if test="et.pbQty!=null">PB_QTY=#{et.pbQty},</if>
|
|
|
|
<if test="et.repairDateTime!=null">REPAIR_DATE_TIME=#{et.repairDateTime},</if>
|
|
|
|
<if test="et.repairDateTime!=null">REPAIR_DATE_TIME=#{et.repairDateTime},</if>
|
|
|
|
<if test="et.discover!=null">DISCOVER=#{et.discover},</if>
|
|
|
|
<if test="et.discover!=null">DISCOVER=#{et.discover},</if>
|
|
|
|
<if test="et.inspecter!=null">INSPECTER=#{et.inspecter},</if>
|
|
|
|
<if test="et.inspector!=null">INSPECTOR=#{et.inspector},</if>
|
|
|
|
<if test="et.entityLocation!=null">ENTITY_LOCATION=#{et.entityLocation},</if>
|
|
|
|
<if test="et.entityLocation!=null">ENTITY_LOCATION=#{et.entityLocation},</if>
|
|
|
|
<if test="et.reportFrom!=null">REPORT_FROM=#{et.reportFrom},</if>
|
|
|
|
<if test="et.reportFrom!=null">REPORT_FROM=#{et.reportFrom},</if>
|
|
|
|
<if test="et.objectBo!=null">OBJECT_BO=#{et.objectBo},</if>
|
|
|
|
<if test="et.objectBo!=null">OBJECT_BO=#{et.objectBo},</if>
|
|
|
@ -669,7 +676,7 @@
|
|
|
|
<if test="et.cancelDateTime!=null">CANCEL_DATE_TIME=#{et.cancelDateTime},</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.cancelUser!=null">CANCEL_USER=#{et.cancelUser},</if>
|
|
|
|
<if test="et.createdUser!=null">CREATED_USER=#{et.createdUser},</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.createdDateTime!=null">CREATED_DATE_TIME=#{et.createdDateTime},</if>
|
|
|
|
<if test="et.modifiedUser!=null">MODIFIED_USER=#{et.modifiedUser},</if>
|
|
|
|
<if test="et.modifiedUser!=null">MODIFIED_USER=#{et.modifiedUser},</if>
|
|
|
|
<if test="et.modifiedDateTime!=null">MODIFIED_DATE_TIME=#{et.modifiedDateTime},</if>
|
|
|
|
<if test="et.modifiedDateTime!=null">MODIFIED_DATE_TIME=#{et.modifiedDateTime},</if>
|
|
|
|
</trim>
|
|
|
|
</trim>
|
|
|
@ -698,7 +705,7 @@
|
|
|
|
<if test="ew.entity.pbQty!=null"> AND PB_QTY=#{ew.entity.pbQty}</if>
|
|
|
|
<if test="ew.entity.pbQty!=null"> AND PB_QTY=#{ew.entity.pbQty}</if>
|
|
|
|
<if test="ew.entity.repairDateTime!=null"> AND REPAIR_DATE_TIME=#{ew.entity.repairDateTime}</if>
|
|
|
|
<if test="ew.entity.repairDateTime!=null"> AND REPAIR_DATE_TIME=#{ew.entity.repairDateTime}</if>
|
|
|
|
<if test="ew.entity.discover!=null"> AND DISCOVER=#{ew.entity.discover}</if>
|
|
|
|
<if test="ew.entity.discover!=null"> AND DISCOVER=#{ew.entity.discover}</if>
|
|
|
|
<if test="ew.entity.inspecter!=null"> AND INSPECTER=#{ew.entity.inspecter}</if>
|
|
|
|
<if test="ew.entity.inspector!=null"> AND INSPECTOR=#{ew.entity.inspector}</if>
|
|
|
|
<if test="ew.entity.entityLocation!=null"> AND ENTITY_LOCATION=#{ew.entity.entityLocation}</if>
|
|
|
|
<if test="ew.entity.entityLocation!=null"> AND ENTITY_LOCATION=#{ew.entity.entityLocation}</if>
|
|
|
|
<if test="ew.entity.reportFrom!=null"> AND REPORT_FROM=#{ew.entity.reportFrom}</if>
|
|
|
|
<if test="ew.entity.reportFrom!=null"> AND REPORT_FROM=#{ew.entity.reportFrom}</if>
|
|
|
|
<if test="ew.entity.objectBo!=null"> AND OBJECT_BO=#{ew.entity.objectBo}</if>
|
|
|
|
<if test="ew.entity.objectBo!=null"> AND OBJECT_BO=#{ew.entity.objectBo}</if>
|
|
|
@ -708,7 +715,7 @@
|
|
|
|
<if test="ew.entity.cancelDateTime!=null"> AND CANCEL_DATE_TIME=#{ew.entity.cancelDateTime}</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.cancelUser!=null"> AND CANCEL_USER=#{ew.entity.cancelUser}</if>
|
|
|
|
<if test="ew.entity.createdUser!=null"> AND CREATED_USER=#{ew.entity.createdUser}</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.createdDateTime!=null"> AND CREATED_DATE_TIME=#{ew.entity.createdDateTime}</if>
|
|
|
|
<if test="ew.entity.modifiedUser!=null"> AND MODIFIED_USER=#{ew.entity.modifiedUser}</if>
|
|
|
|
<if test="ew.entity.modifiedUser!=null"> AND MODIFIED_USER=#{ew.entity.modifiedUser}</if>
|
|
|
|
<if test="ew.entity.modifiedDateTime!=null"> AND MODIFIED_DATE_TIME=#{ew.entity.modifiedDateTime}</if>
|
|
|
|
<if test="ew.entity.modifiedDateTime!=null"> AND MODIFIED_DATE_TIME=#{ew.entity.modifiedDateTime}</if>
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
@ -768,7 +775,7 @@
|
|
|
|
<if test="ew.entity.pbQty!=null"> AND PB_QTY=#{ew.entity.pbQty}</if>
|
|
|
|
<if test="ew.entity.pbQty!=null"> AND PB_QTY=#{ew.entity.pbQty}</if>
|
|
|
|
<if test="ew.entity.repairDateTime!=null"> AND REPAIR_DATE_TIME=#{ew.entity.repairDateTime}</if>
|
|
|
|
<if test="ew.entity.repairDateTime!=null"> AND REPAIR_DATE_TIME=#{ew.entity.repairDateTime}</if>
|
|
|
|
<if test="ew.entity.discover!=null"> AND DISCOVER=#{ew.entity.discover}</if>
|
|
|
|
<if test="ew.entity.discover!=null"> AND DISCOVER=#{ew.entity.discover}</if>
|
|
|
|
<if test="ew.entity.inspecter!=null"> AND INSPECTER=#{ew.entity.inspecter}</if>
|
|
|
|
<if test="ew.entity.inspector!=null"> AND INSPECTOR=#{ew.entity.inspector}</if>
|
|
|
|
<if test="ew.entity.entityLocation!=null"> AND ENTITY_LOCATION=#{ew.entity.entityLocation}</if>
|
|
|
|
<if test="ew.entity.entityLocation!=null"> AND ENTITY_LOCATION=#{ew.entity.entityLocation}</if>
|
|
|
|
<if test="ew.entity.reportFrom!=null"> AND REPORT_FROM=#{ew.entity.reportFrom}</if>
|
|
|
|
<if test="ew.entity.reportFrom!=null"> AND REPORT_FROM=#{ew.entity.reportFrom}</if>
|
|
|
|
<if test="ew.entity.objectBo!=null"> AND OBJECT_BO=#{ew.entity.objectBo}</if>
|
|
|
|
<if test="ew.entity.objectBo!=null"> AND OBJECT_BO=#{ew.entity.objectBo}</if>
|
|
|
@ -778,7 +785,7 @@
|
|
|
|
<if test="ew.entity.cancelDateTime!=null"> AND CANCEL_DATE_TIME=#{ew.entity.cancelDateTime}</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.cancelUser!=null"> AND CANCEL_USER=#{ew.entity.cancelUser}</if>
|
|
|
|
<if test="ew.entity.createdUser!=null"> AND CREATED_USER=#{ew.entity.createdUser}</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.createdDateTime!=null"> AND CREATED_DATE_TIME=#{ew.entity.createdDateTime}</if>
|
|
|
|
<if test="ew.entity.modifiedUser!=null"> AND MODIFIED_USER=#{ew.entity.modifiedUser}</if>
|
|
|
|
<if test="ew.entity.modifiedUser!=null"> AND MODIFIED_USER=#{ew.entity.modifiedUser}</if>
|
|
|
|
<if test="ew.entity.modifiedDateTime!=null"> AND MODIFIED_DATE_TIME=#{ew.entity.modifiedDateTime}</if>
|
|
|
|
<if test="ew.entity.modifiedDateTime!=null"> AND MODIFIED_DATE_TIME=#{ew.entity.modifiedDateTime}</if>
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
@ -798,5 +805,48 @@
|
|
|
|
</foreach>)
|
|
|
|
</foreach>)
|
|
|
|
</delete>
|
|
|
|
</delete>
|
|
|
|
<!-- BaseMapper标准查询/修改/删除 -->
|
|
|
|
<!-- BaseMapper标准查询/修改/删除 -->
|
|
|
|
|
|
|
|
<select id="backLog" resultMap="abnormalBillDto">
|
|
|
|
|
|
|
|
SELECT ROW_NUMBER() OVER(ORDER BY zab.ABNORMAL_NO ASC) SEQ,zab.ABNORMAL_NO ABNORMAL_NO,
|
|
|
|
|
|
|
|
zab.STATUS STATUS, it.DESCRIPTION ITEM_DESCRIPTION, zab.CREATED_DATE_TIME CREATED_DATE_TIME,zab.RESPONSE_DATE_TIME RESPONSE_DATE_TIME
|
|
|
|
|
|
|
|
,zab.CREATED_USER CREATED_USER,
|
|
|
|
|
|
|
|
zab.NC_CODE NC_CODE,zab.PB_DESCRIPTION PB_DESCRIPTION
|
|
|
|
|
|
|
|
FROM Z_ABNORMAL_BILL zab
|
|
|
|
|
|
|
|
INNER JOIN ITEM i ON zab.ITEM_BO = i.HANDLE
|
|
|
|
|
|
|
|
LEFT JOIN ITEM_T it ON i.HANDLE = it.ITEM_BO AND it.LOCALE = #{language}
|
|
|
|
|
|
|
|
<where>
|
|
|
|
|
|
|
|
<if test="abnormalBill != null">
|
|
|
|
|
|
|
|
<if test="abnormalBill.site != null and abnormalBill.site != ''">
|
|
|
|
|
|
|
|
zab.SITE = #{abnormalBill.site}
|
|
|
|
|
|
|
|
</if>
|
|
|
|
|
|
|
|
<if test="abnormalBill.resrce != null and abnormalBill.resrce != ''">
|
|
|
|
|
|
|
|
AND zab.RESRCE = #{abnormalBill.resrce}
|
|
|
|
|
|
|
|
</if>
|
|
|
|
|
|
|
|
<if test="abnormalBill.shopOrder != null and abnormalBill.shopOrder != ''">
|
|
|
|
|
|
|
|
AND zab.SHOP_ORDER = #{abnormalBill.shopOrder}
|
|
|
|
|
|
|
|
</if>
|
|
|
|
|
|
|
|
<if test="abnormalBill.abnormalNo != null and abnormalBill.abnormalNo != ''">
|
|
|
|
|
|
|
|
AND zab.ABNORMAL_NO = #{abnormalBill.abnormalNo}
|
|
|
|
|
|
|
|
</if>
|
|
|
|
|
|
|
|
<if test="abnormalBill.status != null and abnormalBill.status != ''">
|
|
|
|
|
|
|
|
AND zab.STATUS = #{abnormalBill.status}
|
|
|
|
|
|
|
|
</if>
|
|
|
|
|
|
|
|
<if test="abnormalBill.startDateTime != null ">
|
|
|
|
|
|
|
|
AND zab.CREATED_DATE_TIME >= #{abnormalBill.startDateTime}
|
|
|
|
|
|
|
|
</if>
|
|
|
|
|
|
|
|
<if test="abnormalBill.endDateTime != null">
|
|
|
|
|
|
|
|
AND zab.CREATED_DATE_TIME <= #{abnormalBill.endDateTime}
|
|
|
|
|
|
|
|
</if>
|
|
|
|
|
|
|
|
<if test="abnormalBill.workCenter != null and abnormalBill.workCenter != ''">
|
|
|
|
|
|
|
|
AND zab.WORK_CENTER = #{abnormalBill.workCenter}
|
|
|
|
|
|
|
|
</if>
|
|
|
|
|
|
|
|
<if test="abnormalBill.type != null and abnormalBill.type != ''">
|
|
|
|
|
|
|
|
AND zab.TYPE = #{abnormalBill.type}
|
|
|
|
|
|
|
|
</if>
|
|
|
|
|
|
|
|
<if test="abnormalBill.reportFrom != null and abnormalBill.reportFrom != ''">
|
|
|
|
|
|
|
|
AND zab.REPORT_FROM = #{abnormalBill.reportFrom}
|
|
|
|
|
|
|
|
</if>
|
|
|
|
|
|
|
|
</if>
|
|
|
|
|
|
|
|
</where>
|
|
|
|
|
|
|
|
</select>
|
|
|
|
|
|
|
|
|
|
|
|
</mapper>
|
|
|
|
</mapper>
|
|
|
|