fix: 订单查询过滤掉退款订单
This commit is contained in:
@@ -108,7 +108,6 @@
|
|||||||
<otherwise>
|
<otherwise>
|
||||||
and toi.status in ('refund','closed')
|
and toi.status in ('refund','closed')
|
||||||
</otherwise>
|
</otherwise>
|
||||||
and toi.source is null
|
|
||||||
</choose>
|
</choose>
|
||||||
<if test="day != null and day != ''">
|
<if test="day != null and day != ''">
|
||||||
and toi.trade_day = #{day}
|
and toi.trade_day = #{day}
|
||||||
@@ -116,6 +115,7 @@
|
|||||||
<if test="orderNo != null and orderNo != ''">
|
<if test="orderNo != null and orderNo != ''">
|
||||||
and toi.order_no = #{orderNo}
|
and toi.order_no = #{orderNo}
|
||||||
</if>
|
</if>
|
||||||
|
and toi.source is null
|
||||||
group by toi.id,toi.shop_id
|
group by toi.id,toi.shop_id
|
||||||
order by toi.id desc
|
order by toi.id desc
|
||||||
</select>
|
</select>
|
||||||
|
|||||||
Reference in New Issue
Block a user