update 更新文档

This commit is contained in:
jsowell
2026-05-28 16:48:01 +08:00
parent 3c68e331fc
commit 380a9053af
3 changed files with 500 additions and 0 deletions

View File

@@ -160,15 +160,18 @@ public class AdapayUnsplitRecordHandleServiceImpl implements AdapayUnsplitRecord
}
if (dueRefundAmount.compareTo(BigDecimal.ZERO) > 0 && !ensureRefundBeforeSplit(item, wechatAppId)) {
syncAndRefreshFlagsFromAdapay(paymentId, wechatAppId);
return ItemResult.SKIPPED;
}
if (waitSplitAmount.compareTo(BigDecimal.ZERO) <= 0) {
syncAndRefreshFlagsFromAdapay(paymentId, wechatAppId);
return ItemResult.SKIPPED;
}
BigDecimal confirmAmt = getLatestConfirmAmount(waitSplitAmount, item.getPayAmount(), item.getRefundAmount(), paymentId, wechatAppId);
if (confirmAmt.compareTo(BigDecimal.ZERO) <= 0) {
syncAndRefreshFlagsFromAdapay(paymentId, wechatAppId);
return ItemResult.SKIPPED;
}