sql修改;
This commit is contained in:
@@ -703,19 +703,19 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
AND a.storage_location_id = #{storageLocationId}
|
||||
</if>
|
||||
<if test="extAttr4 != null">
|
||||
AND TRUNC(a.EXT_ATTR_4) = TRUNC(#{inventoryDate})
|
||||
AND TRUNC(a.EXT_ATTR_4) = TRUNC(#{extAttr4})
|
||||
</if>
|
||||
<if test="extAttr3 != null">
|
||||
AND TRUNC(a.EXT_ATTR_3) = TRUNC(#{inventoryDate})
|
||||
AND TRUNC(a.EXT_ATTR_3) = TRUNC(#{extAttr3})
|
||||
</if>
|
||||
<if test="inventoryDate != null">
|
||||
AND TRUNC(a.inventory_date) = TRUNC(#{inventoryDate})
|
||||
</if>
|
||||
<if test="expiryDate != null">
|
||||
AND TRUNC(a.EXPIRY_DATE) = TRUNC(#{inventoryDate})
|
||||
AND TRUNC(a.EXPIRY_DATE) = TRUNC(#{expiryDate})
|
||||
</if>
|
||||
<if test="productionDate != null">
|
||||
AND TRUNC(a.PRODUCTION_DATE) = TRUNC(#{inventoryDate})
|
||||
AND TRUNC(a.PRODUCTION_DATE) = TRUNC(#{productionDate})
|
||||
</if>
|
||||
<if test="extAttr2 != null and extAttr2 != ''">
|
||||
AND a.EXT_ATTR_2 = #{extAttr2}
|
||||
|
||||
Reference in New Issue
Block a user