update 支付回调新增占桩逻辑处理、 后管运营商订单报表新增字段

This commit is contained in:
Lemon
2023-08-29 16:40:20 +08:00
parent 990951ca2d
commit a90fc4f9f3
11 changed files with 100 additions and 23 deletions

View File

@@ -453,6 +453,7 @@
select
t1.clearing_bill_code as clearingBillCode,
t2.order_code as orderCode,
t5.settle_amount as settleAmount,
t3.withdraw_code as withdrawCode,
t3.withdraw_status as withdrawStatus,
t4.payment_id as paymentId
@@ -460,6 +461,7 @@
left join clearing_bill_detail t2 on t2.clearing_bill_code = t1.clearing_bill_code and t2.del_flag = '0'
left join clearing_withdraw_info t3 on t3.withdraw_code = t1.withdraw_code and t3.del_flag = '0'
left join adapay_callback_record t4 on t4.order_code = t2.order_code and t4.del_flag = '0'
left join order_basic_info t5 on t5.order_code = t2.order_code and t5.del_flag = '0'
where t1.del_flag = '0'
and t2.order_code in
<foreach collection="orderCodeList" item="orderCode" open="(" separator="," close=")">