oms库存查询库存为0;

This commit is contained in:
王奎兴
2026-06-01 15:29:05 +08:00
parent 051b6750c2
commit c2171dd8cd
@@ -240,10 +240,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="containerTypeName != null and containerTypeName != ''">
and a.container_type_name like concat('%', #{containerTypeName}, '%')
</if>
<choose>
<when test="inventoryQuantity != null"> and a.inventory_quantity = #{inventoryQuantity} </when>
<otherwise> and a.inventory_quantity != 0 </otherwise>
</choose>
<if test="allocationQuantity != null ">
and a.allocation_quantity = #{allocationQuantity}
</if>