上架修改库存;
This commit is contained in:
@@ -650,35 +650,35 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<if test="storageLocationId != null and storageLocationId != ''">
|
||||
AND a.storage_location_id = #{storageLocationId}
|
||||
</if>
|
||||
<if test="extAttr4 != null and extAttr4 != ''">
|
||||
AND a.storage_location_id = #{extAttr4}
|
||||
<if test="extAttr4 != null">
|
||||
AND DATE(a.EXT_ATTR_4) = DATE(#{inventoryDate})
|
||||
</if>
|
||||
<if test="extAttr3 != null and extAttr3 != ''">
|
||||
AND a.storage_location_id = #{extAttr3}
|
||||
<if test="extAttr3 != null">
|
||||
AND DATE(a.EXT_ATTR_3) = DATE(#{inventoryDate})
|
||||
</if>
|
||||
<if test="inventoryDate != null and inventoryDate != ''">
|
||||
AND a.storage_location_id = #{inventoryDate}
|
||||
<if test="inventoryDate != null">
|
||||
AND DATE(a.inventory_date) = DATE(#{inventoryDate})
|
||||
</if>
|
||||
<if test="expiryDate != null and expiryDate != ''">
|
||||
AND a.storage_location_id = #{expiryDate}
|
||||
<if test="expiryDate != null">
|
||||
AND DATE(a.EXPIRY_DATE) = DATE(#{inventoryDate})
|
||||
</if>
|
||||
<if test="productionDate != null and productionDate != ''">
|
||||
AND a.storage_location_id = #{productionDate}
|
||||
AND DATE(a.PRODUCTION_DATE) = DATE(#{inventoryDate})
|
||||
</if>
|
||||
<if test="extAttr2 != null and extAttr2 != ''">
|
||||
AND a.storage_location_id = #{extAttr2}
|
||||
AND a.EXT_ATTR_2 = #{extAttr2}
|
||||
</if>
|
||||
<if test="extAttr1 != null and extAttr1 != ''">
|
||||
AND a.storage_location_id = #{extAttr1}
|
||||
AND a.EXT_ATTR_1 = #{extAttr1}
|
||||
</if>
|
||||
<if test="boxPalletNo != null and boxPalletNo != ''">
|
||||
AND a.storage_location_id = #{boxPalletNo}
|
||||
AND a.BOX_PALLET_NO = #{boxPalletNo}
|
||||
</if>
|
||||
<if test="sheetRefNo != null and sheetRefNo != ''">
|
||||
AND a.storage_location_id = #{sheetRefNo}
|
||||
AND a.SHEET_REF_NO = #{sheetRefNo}
|
||||
</if>
|
||||
<if test="batchRefNo != null and batchRefNo != ''">
|
||||
AND a.storage_location_id = #{batchRefNo}
|
||||
AND a.BATCH_REF_NO = #{batchRefNo}
|
||||
</if>
|
||||
</select>
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user