任务BUG修改
This commit is contained in:
@@ -893,30 +893,16 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<if test="extAttr1 == ''">
|
||||
AND a.EXT_ATTR_1 = #{extAttr1}
|
||||
</if>
|
||||
<if test="boxPalletNo == ''">
|
||||
AND a.BOX_PALLET_NO = #{boxPalletNo}
|
||||
</if>
|
||||
<if test="sheetRefNo == ''">
|
||||
AND a.SHEET_REF_NO = #{sheetRefNo}
|
||||
</if>
|
||||
<if test="batchRefNo == ''">
|
||||
AND a.BATCH_REF_NO = #{batchRefNo}
|
||||
</if>
|
||||
<!-- 如果 Batch Ref NO's、Sheet Ref NO's、箱号/卡板号三个值为空,忽略这些查询条件 -->
|
||||
<!-- 已移除 boxPalletNo == '' 和 boxPalletNo == null 的查询条件 -->
|
||||
<!-- 已移除 sheetRefNo == '' 和 sheetRefNo == null 的查询条件 -->
|
||||
<!-- 已移除 batchRefNo == '' 和 batchRefNo == null 的查询条件 -->
|
||||
<if test="extAttr2 == null">
|
||||
AND a.EXT_ATTR_2 is null
|
||||
</if>
|
||||
<if test="extAttr1 == null">
|
||||
AND a.EXT_ATTR_1 is null
|
||||
</if>
|
||||
<if test="boxPalletNo == null">
|
||||
AND a.BOX_PALLET_NO is null
|
||||
</if>
|
||||
<if test="sheetRefNo == null">
|
||||
AND a.SHEET_REF_NO is null
|
||||
</if>
|
||||
<if test="batchRefNo == null">
|
||||
AND a.BATCH_REF_NO is null
|
||||
</if>
|
||||
</select>
|
||||
|
||||
<!-- 根据库存ID查询库存信息(包含批次属性字段) -->
|
||||
|
||||
Reference in New Issue
Block a user