库存等于0也显示
This commit is contained in:
@@ -170,10 +170,13 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||||||
<if test="containerTypeName != null and containerTypeName != ''">
|
<if test="containerTypeName != null and containerTypeName != ''">
|
||||||
and a.container_type_name like concat('%', #{containerTypeName}, '%')
|
and a.container_type_name like concat('%', #{containerTypeName}, '%')
|
||||||
</if>
|
</if>
|
||||||
<choose>
|
<!--<choose>
|
||||||
<when test="inventoryQuantity != null"> and a.inventory_quantity = #{inventoryQuantity} </when>
|
<when test="inventoryQuantity != null"> and a.inventory_quantity = #{inventoryQuantity} </when>
|
||||||
<otherwise> and a.inventory_quantity != 0 </otherwise>
|
<otherwise> and a.inventory_quantity != 0 </otherwise>
|
||||||
</choose>
|
</choose>-->
|
||||||
|
<if test="inventoryQuantity != null ">
|
||||||
|
and a.inventory_quantity = #{inventoryQuantity}
|
||||||
|
</if>
|
||||||
<if test="allocationQuantity != null ">
|
<if test="allocationQuantity != null ">
|
||||||
and a.allocation_quantity = #{allocationQuantity}
|
and a.allocation_quantity = #{allocationQuantity}
|
||||||
</if>
|
</if>
|
||||||
|
|||||||
Reference in New Issue
Block a user