解决零售统计的查询bug

This commit is contained in:
jishenghua
2024-03-01 10:34:37 +08:00
parent 153f193a39
commit be1398a8d8
2 changed files with 6 additions and 3 deletions

View File

@@ -412,7 +412,10 @@
and (dh.sub_type = '采购' or dh.sub_type = '采购退货')
</if>
<if test="billType =='sale'">
and (dh.sub_type = '销售' or dh.sub_type = '销售退货' or dh.sub_type = '零售' or dh.sub_type = '零售退货')
and (dh.sub_type = '销售' or dh.sub_type = '销售退货')
</if>
<if test="billType =='retail'">
and (dh.sub_type = '零售' or dh.sub_type = '零售退货')
</if>
<if test="beginTime != null">
and dh.oper_time >= #{beginTime}