给根据仓库和商品查询单据列表接口增加是否出入库管理的开关

This commit is contained in:
季圣华
2023-12-11 00:18:26 +08:00
parent 4237ec555f
commit e7911b1304
4 changed files with 15 additions and 6 deletions

View File

@@ -165,6 +165,9 @@
or (dh.type='其它' and dh.sub_type='组装单')
or (dh.type='其它' and dh.sub_type='拆卸单')
or (dh.type='其它' and dh.sub_type='盘点复盘'))
<if test="inOutManageFlag">
and (dh.sub_type!='采购' and dh.sub_type!='采购退货' and dh.sub_type!='销售' and dh.sub_type!='销售退货')
</if>
<if test="depotIdArray != null">
and di.depot_id in (
<foreach collection="depotIdArray" item="depotId" separator=",">#{depotId}</foreach>
@@ -242,6 +245,9 @@
or (dh.type='其它' and dh.sub_type='组装单')
or (dh.type='其它' and dh.sub_type='拆卸单')
or (dh.type='其它' and dh.sub_type='盘点复盘'))
<if test="inOutManageFlag">
and (dh.sub_type!='采购' and dh.sub_type!='采购退货' and dh.sub_type!='销售' and dh.sub_type!='销售退货')
</if>
<if test="depotIdArray != null">
and di.depot_id in (
<foreach collection="depotIdArray" item="depotId" separator=",">#{depotId}</foreach>