update 处理未分账订单

This commit is contained in:
Guoqs
2025-11-19 11:55:05 +08:00
parent 80498404da
commit d1c8827b4f
6 changed files with 191 additions and 14 deletions

View File

@@ -702,14 +702,15 @@
<select id="queryUnsplitOrders" resultMap="BaseResultMap">
select * from adapay_unsplit_record
where pay_time >= #{startTime} and pay_time &lt;= #{endTime}
and due_refund_amount is null
and settle_amount is null
and order_code like 'C%'
</select>
<!--and due_refund_amount is null-->
<!--and settle_amount is null-->
<!--and order_code like 'C%'-->
</select>
<select id="queryList" resultType="com.jsowell.pile.vo.AdapayUnsplitRecordVO">
SELECT
order_code as orderCode,
payment_id as paymentId,
pay_amount as payAmount,
settle_amount as settleAmount,
confirmed_split_amount as confirmedSplitAmount,