update 处理订单

This commit is contained in:
Guoqs
2026-05-28 14:24:11 +08:00
parent 1c44b2242c
commit 732f8f0e4e
2 changed files with 4 additions and 3 deletions

View File

@@ -156,7 +156,7 @@ public class PaymentTestController {
*/
@Test
public void processUnsplitRecordToDefaultMemberTest() {
adapayUnsplitRecordHandleService.processUnsplitRecordToDefaultMember(wechatAppId1, 20);
adapayUnsplitRecordHandleService.processUnsplitRecordToDefaultMember(wechatAppId1, 2000);
}
/**

View File

@@ -756,7 +756,8 @@
GREATEST(0, IFNULL(due_refund_amount, 0) - IFNULL(refund_amount, 0)) AS refundPayAmount
FROM adapay_unsplit_record
WHERE
(refund_flag IS NULL OR refund_flag != 'SUCCESS')
OR (split_flag IS NULL OR split_flag != 'SUCCESS')
<!-- (refund_flag IS NULL OR refund_flag != 'SUCCESS')-->
<!-- OR (split_flag IS NULL OR split_flag != 'SUCCESS')-->
refund_flag IS NULL OR split_flag IS NULL
</select>
</mapper>