oms库存查询库存为0;
This commit is contained in:
+1
-4
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user