解决首页和采购销售统计查询的逻辑的bug

This commit is contained in:
jishenghua
2024-01-03 17:34:20 +08:00
parent 1f8cbc2a0f
commit da969b5633
2 changed files with 10 additions and 10 deletions

View File

@@ -471,7 +471,7 @@
and (me.bar_code like #{bindKey} or m.name like #{bindKey} or m.standard like #{bindKey} or m.model like #{bindKey})
</if>
<if test="forceFlag">
and dh.status = '1'
and (dh.status = '1' or dh.status = '2' or dh.status = '3')
</if>
<if test="inOutManageFlag">
and (dh.sub_type!='采购' and dh.sub_type!='采购退货' and dh.sub_type!='销售' and dh.sub_type!='销售退货')
@@ -540,7 +540,7 @@
and (me.bar_code like #{bindKey} or m.name like #{bindKey} or m.standard like #{bindKey} or m.model like #{bindKey})
</if>
<if test="forceFlag">
and dh.status = '1'
and (dh.status = '1' or dh.status = '2' or dh.status = '3')
</if>
<if test="inOutManageFlag">
and (dh.sub_type!='采购' and dh.sub_type!='采购退货' and dh.sub_type!='销售' and dh.sub_type!='销售退货')
@@ -942,7 +942,7 @@
and dh.oper_time &lt;= #{endTime}
</if>
<if test="forceFlag">
and dh.status = '1'
and (dh.status = '1' or dh.status = '2' or dh.status = '3')
</if>
<if test="creatorArray != null">
and dh.creator in (
@@ -976,7 +976,7 @@
and dh.oper_time &lt;= #{endTime}
</if>
<if test="forceFlag">
and dh.status = '1'
and (dh.status = '1' or dh.status = '2' or dh.status = '3')
</if>
<if test="creatorArray != null">
and dh.creator in (