|
@@ -1608,38 +1608,38 @@
|
|
|
AND to_date(#{endDate}, 'yyyy-mm-dd hh24:mi:ss') >= WIR.INBOUND_TIME
|
|
|
</if>
|
|
|
AND WIR.RESULT_DELETED = 0
|
|
|
- <where>
|
|
|
- <if test="count != null">
|
|
|
- and "count" in
|
|
|
- <foreach collection="count" item="item" open="(" separator="," close=")">
|
|
|
- #{item}
|
|
|
- </foreach>
|
|
|
- </if>
|
|
|
- <if test="weight != null">
|
|
|
- and "weight" in
|
|
|
- <foreach collection="weight" item="item" open="(" separator="," close=")">
|
|
|
- #{item}
|
|
|
- </foreach>
|
|
|
- </if>
|
|
|
- <if test="onetime != null">
|
|
|
- and "onetime" in
|
|
|
- <foreach collection="onetime" item="item" open="(" separator="," close=")">
|
|
|
- #{item}
|
|
|
- </foreach>
|
|
|
- </if>
|
|
|
- <if test="materialName != null">
|
|
|
- and "materialName" in
|
|
|
- <foreach collection="materialName" item="item" open="(" separator="," close=")">
|
|
|
- #{item}
|
|
|
- </foreach>
|
|
|
- </if>
|
|
|
- <if test="furnaceNumber1 != null">
|
|
|
- and "furnaceNumber1" in
|
|
|
- <foreach collection="furnaceNumber1" item="item" open="(" separator="," close=")">
|
|
|
- #{item}
|
|
|
- </foreach>
|
|
|
- </if>
|
|
|
- </where>
|
|
|
+<!-- <where>-->
|
|
|
+<!-- <if test="count != null">-->
|
|
|
+<!-- and "count" in-->
|
|
|
+<!-- <foreach collection="count" item="item" open="(" separator="," close=")">-->
|
|
|
+<!-- #{item}-->
|
|
|
+<!-- </foreach>-->
|
|
|
+<!-- </if>-->
|
|
|
+<!-- <if test="weight != null">-->
|
|
|
+<!-- and "weight" in-->
|
|
|
+<!-- <foreach collection="weight" item="item" open="(" separator="," close=")">-->
|
|
|
+<!-- #{item}-->
|
|
|
+<!-- </foreach>-->
|
|
|
+<!-- </if>-->
|
|
|
+<!-- <if test="onetime != null">-->
|
|
|
+<!-- and "onetime" in-->
|
|
|
+<!-- <foreach collection="onetime" item="item" open="(" separator="," close=")">-->
|
|
|
+<!-- #{item}-->
|
|
|
+<!-- </foreach>-->
|
|
|
+<!-- </if>-->
|
|
|
+<!-- <if test="materialName != null">-->
|
|
|
+<!-- and "materialName" in-->
|
|
|
+<!-- <foreach collection="materialName" item="item" open="(" separator="," close=")">-->
|
|
|
+<!-- #{item}-->
|
|
|
+<!-- </foreach>-->
|
|
|
+<!-- </if>-->
|
|
|
+<!-- <if test="furnaceNumber1 != null">-->
|
|
|
+<!-- and "furnaceNumber1" in-->
|
|
|
+<!-- <foreach collection="furnaceNumber1" item="item" open="(" separator="," close=")">-->
|
|
|
+<!-- #{item}-->
|
|
|
+<!-- </foreach>-->
|
|
|
+<!-- </if>-->
|
|
|
+<!-- </where>-->
|
|
|
<include refid="orderBy"></include>
|
|
|
</select>
|
|
|
|