fix: 订单查询过滤掉退款订单

This commit is contained in:
张松
2024-12-20 10:16:34 +08:00
parent 0e5ac1ceb5
commit e1a0698883

View File

@@ -108,7 +108,6 @@
<otherwise>
and toi.status in ('refund','closed')
</otherwise>
and toi.source is null
</choose>
<if test="day != null and day != ''">
and toi.trade_day = #{day}
@@ -116,6 +115,7 @@
<if test="orderNo != null and orderNo != ''">
and toi.order_no = #{orderNo}
</if>
and toi.source is null
group by toi.id,toi.shop_id
order by toi.id desc
</select>