库存分配跟库存查询区分

This commit is contained in:
秦鸿展
2026-05-11 16:02:51 +08:00
parent e7202f100d
commit 62da999f94
4 changed files with 16 additions and 2 deletions
@@ -183,6 +183,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="freezeQuantity != null ">
and a.freeze_quantity = #{freezeQuantity}
</if>
<if test="excludeZeroInventoryQuantity != null and excludeZeroInventoryQuantity == true">
and COALESCE(a.inventory_quantity, 0) &gt; 0
</if>
<if test="createByName != null and createByName != ''">
and a.create_by_name like concat('%', #{createByName}, '%')