上架修改

This commit is contained in:
秦鸿展
2026-02-02 09:34:27 +08:00
parent ef698c2fa1
commit 2b70f25fae
2 changed files with 14 additions and 6 deletions
@@ -688,19 +688,19 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
AND a.storage_location_id = #{storageLocationId}
</if>
<if test="extAttr4 != null">
AND DATE(a.EXT_ATTR_4) = DATE(#{inventoryDate})
AND TRUNC(a.EXT_ATTR_4) = TRUNC(#{inventoryDate})
</if>
<if test="extAttr3 != null">
AND DATE(a.EXT_ATTR_3) = DATE(#{inventoryDate})
AND TRUNC(a.EXT_ATTR_3) = TRUNC(#{inventoryDate})
</if>
<if test="inventoryDate != null">
AND DATE(a.inventory_date) = DATE(#{inventoryDate})
AND TRUNC(a.inventory_date) = TRUNC(#{inventoryDate})
</if>
<if test="expiryDate != null">
AND DATE(a.EXPIRY_DATE) = DATE(#{inventoryDate})
AND TRUNC(a.EXPIRY_DATE) = TRUNC(#{inventoryDate})
</if>
<if test="productionDate != null and productionDate != ''">
AND DATE(a.PRODUCTION_DATE) = DATE(#{inventoryDate})
<if test="productionDate != null">
AND TRUNC(a.PRODUCTION_DATE) = TRUNC(#{inventoryDate})
</if>
<if test="extAttr2 != null and extAttr2 != ''">
AND a.EXT_ATTR_2 = #{extAttr2}