打印日志

This commit is contained in:
jsowell
2026-05-28 14:28:57 +08:00
parent 1f8311eac8
commit 79a38f05e8

View File

@@ -165,8 +165,10 @@ public class AdapayUnsplitRecordHandleServiceImpl implements AdapayUnsplitRecord
success++;
updateConfirmedSplitAmount(item, confirmAmt, paymentId);
refreshHandleFlagQuietly(paymentId, wechatAppId);
log.info("处理未分账数据成功, paymentId:{}, orderCode:{}, confirmAmt:{}, response:{}",
paymentId, orderCode, confirmAmt, JSON.toJSONString(response));
BigDecimal totalConfirmedAmt = parseAmount(item.getConfirmedSplitAmount()).add(confirmAmt)
.setScale(2, BigDecimal.ROUND_HALF_UP);
log.info("处理未分账数据成功, paymentId:{}, orderCode:{}, 本次分账金额:{}, 累计已分账金额:{}, response:{}",
paymentId, orderCode, confirmAmt, totalConfirmedAmt, JSON.toJSONString(response));
} else {
failed++;
String errorCode = response == null ? "response_null" : response.getError_code();