合并条件增加批次号

This commit is contained in:
zhou-hongcheng
2026-03-14 11:46:58 +08:00
parent 540a47e3a8
commit 4cd297acbc
@@ -936,6 +936,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="storageLocationId != null and storageLocationId != ''"> <if test="storageLocationId != null and storageLocationId != ''">
AND a.storage_location_id = #{storageLocationId} AND a.storage_location_id = #{storageLocationId}
</if> </if>
<if test="batchNumber != null and batchNumber != ''">
AND a.batch_number = #{batchNumber}
</if>
<if test="extAttr4 != null"> <if test="extAttr4 != null">
AND TRUNC(a.EXT_ATTR_4) = TRUNC(#{extAttr4}) AND TRUNC(a.EXT_ATTR_4) = TRUNC(#{extAttr4})
</if> </if>