fix: 订单查询过滤掉退款订单
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user