出入库异常未按照仓库过滤
This commit is contained in:
@@ -92,14 +92,14 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
</sql>
|
||||
|
||||
<sql id="joinStockOutOrderPoWhere">
|
||||
<if test="warehouseId != null and warehouseId != '' ">
|
||||
<if test="warehouseId != null">
|
||||
and b.warehouse_id = #{warehouseId}
|
||||
</if>
|
||||
<if test="shipperId != null and shipperId != ''">
|
||||
<if test="shipperId != null">
|
||||
and b.shipper_id = #{shipperId}
|
||||
</if>
|
||||
<if test="orderTypeCode != null and orderTypeCode != ''">
|
||||
and a.order_type_code = #{orderTypeCode}
|
||||
and b.order_type_code = #{orderTypeCode}
|
||||
</if>
|
||||
<choose>
|
||||
<when test="delFlag != null"> and b.del_flag = #{delFlag} </when>
|
||||
|
||||
Reference in New Issue
Block a user