no message
parent
25c53502b5
commit
d98a4c07c5
|
|
@ -136,6 +136,20 @@
|
||||||
<if test="inventory.stockId != null">
|
<if test="inventory.stockId != null">
|
||||||
AND s.id = #{inventory.stockId}
|
AND s.id = #{inventory.stockId}
|
||||||
</if>
|
</if>
|
||||||
|
<if test="inventory.status_MultiString != null and inventory.status_MultiString != ''">
|
||||||
|
AND inv.status IN
|
||||||
|
<foreach collection="inventory.status_MultiString.split(',')"
|
||||||
|
item="status"
|
||||||
|
open="("
|
||||||
|
separator=","
|
||||||
|
close=")">
|
||||||
|
#{status}
|
||||||
|
</foreach>
|
||||||
|
</if>
|
||||||
|
<if test="inventory.whCode != null and inventory.whCode != ''">
|
||||||
|
AND inv.item_key_id IN
|
||||||
|
(select id from base_item_key where wh_code=#{inventory.whCode})
|
||||||
|
</if>
|
||||||
</where>
|
</where>
|
||||||
order by s.stock_code
|
order by s.stock_code
|
||||||
</select>
|
</select>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue