查询库存逻辑修改;
This commit is contained in:
@@ -748,19 +748,19 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<if test="productionDate == null">
|
||||
AND a.PRODUCTION_DATE is null
|
||||
</if>
|
||||
<if test="extAttr2 == null and extAttr2 == ''">
|
||||
<if test="extAttr2 == null or extAttr2 == ''">
|
||||
AND a.EXT_ATTR_2 = #{extAttr2}
|
||||
</if>
|
||||
<if test="extAttr1 == null and extAttr1 == ''">
|
||||
<if test="extAttr1 == null or extAttr1 == ''">
|
||||
AND a.EXT_ATTR_1 = #{extAttr1}
|
||||
</if>
|
||||
<if test="boxPalletNo == null and boxPalletNo == ''">
|
||||
<if test="boxPalletNo == null or boxPalletNo == ''">
|
||||
AND a.BOX_PALLET_NO = #{boxPalletNo}
|
||||
</if>
|
||||
<if test="sheetRefNo == null and sheetRefNo == ''">
|
||||
<if test="sheetRefNo == null or sheetRefNo == ''">
|
||||
AND a.SHEET_REF_NO = #{sheetRefNo}
|
||||
</if>
|
||||
<if test="batchRefNo == null and batchRefNo == ''">
|
||||
<if test="batchRefNo == null or batchRefNo == ''">
|
||||
AND a.BATCH_REF_NO = #{batchRefNo}
|
||||
</if>
|
||||
</select>
|
||||
|
||||
Reference in New Issue
Block a user