库存等于0也显示

This commit is contained in:
zhou-hongcheng
2026-04-21 18:01:07 +08:00
parent 5508cd7ea1
commit 6899e642c7
@@ -170,10 +170,13 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="containerTypeName != null and containerTypeName != ''">
and a.container_type_name like concat('%', #{containerTypeName}, '%')
</if>
<choose>
<!--<choose>
<when test="inventoryQuantity != null"> and a.inventory_quantity = #{inventoryQuantity} </when>
<otherwise> and a.inventory_quantity != 0 </otherwise>
</choose>
</choose>-->
<if test="inventoryQuantity != null ">
and a.inventory_quantity = #{inventoryQuantity}
</if>
<if test="allocationQuantity != null ">
and a.allocation_quantity = #{allocationQuantity}
</if>