库存等于0也显示
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user