解决零售统计里面的分页的bug

This commit is contained in:
jishenghua
2024-04-02 14:28:37 +08:00
parent af673380df
commit 2b9d4cde91

View File

@@ -472,7 +472,10 @@
and (dh.sub_type = '采购' or dh.sub_type = '采购退货') and (dh.sub_type = '采购' or dh.sub_type = '采购退货')
</if> </if>
<if test="billType =='sale'"> <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>
<if test="beginTime != null"> <if test="beginTime != null">
and dh.oper_time >= #{beginTime} and dh.oper_time >= #{beginTime}