|
@@ -725,6 +725,24 @@
|
|
and to_date(#{startDate}, 'yyyy-mm-dd hh24:mi:ss') <= WOR.INSERT_TIME
|
|
and to_date(#{startDate}, 'yyyy-mm-dd hh24:mi:ss') <= WOR.INSERT_TIME
|
|
and to_date(#{endDate}, 'yyyy-mm-dd hh24:mi:ss') >= WOR.INSERT_TIME
|
|
and to_date(#{endDate}, 'yyyy-mm-dd hh24:mi:ss') >= WOR.INSERT_TIME
|
|
</if>
|
|
</if>
|
|
|
|
+ <if test="materialName !=null">
|
|
|
|
+ and RM.MATERIAL_NAME in
|
|
|
|
+ <foreach collection="materialName" item="item" open="(" separator="," close=")">
|
|
|
|
+ #{item}
|
|
|
|
+ </foreach>
|
|
|
|
+ </if>
|
|
|
|
+ <if test="resultForeignShipName !=null">
|
|
|
|
+ and DB.RESULT_FOREIGN_SHIP_NAME in
|
|
|
|
+ <foreach collection="resultForeignShipName" item="item" open="(" separator="," close=")">
|
|
|
|
+ #{item}
|
|
|
|
+ </foreach>
|
|
|
|
+ </if>
|
|
|
|
+ <if test="resultClearing !=null">
|
|
|
|
+ and WOR.RESULT_CLEARING in
|
|
|
|
+ <foreach collection="resultClearing" item="item" open="(" separator="," close=")">
|
|
|
|
+ #{item}
|
|
|
|
+ </foreach>
|
|
|
|
+ </if>
|
|
Order By WOR.RESULT_NUMBER desc
|
|
Order By WOR.RESULT_NUMBER desc
|
|
</select>
|
|
</select>
|
|
<select id="getAllGridOfBatch" resultType="java.util.Map">
|
|
<select id="getAllGridOfBatch" resultType="java.util.Map">
|