This commit is contained in:
Lemon
2023-09-19 16:39:13 +08:00
2 changed files with 4 additions and 5 deletions

View File

@@ -417,15 +417,16 @@ public class TempService {
.build(); .build();
QueryPaymentConfirmDetailResponse response = adapayService.queryPaymentConfirmList(build); QueryPaymentConfirmDetailResponse response = adapayService.queryPaymentConfirmList(build);
List<QueryPaymentConfirmDetailResponse.PaymentConfirmInfo> paymentConfirms = response.getPaymentConfirms(); List<QueryPaymentConfirmDetailResponse.PaymentConfirmInfo> paymentConfirms = response.getPaymentConfirms();
if (!org.springframework.util.CollectionUtils.isEmpty(paymentConfirms)) { if (CollectionUtils.isEmpty(paymentConfirms)) {
unClearingList.add(clearingBillVO);
} else {
clearingBillVO.setConfirmInfo(paymentConfirms.get(0)); clearingBillVO.setConfirmInfo(paymentConfirms.get(0));
clearingList.add(clearingBillVO); clearingList.add(clearingBillVO);
} else {
unClearingList.add(clearingBillVO);
} }
} }
resultMap.put("clearingList", clearingList); resultMap.put("clearingList", clearingList);
resultMap.put("unClearingList", unClearingList); resultMap.put("unClearingList", unClearingList);
resultMap.put("orderSize", clearingBillVOList.size());
return resultMap; return resultMap;
} }

View File

@@ -1365,8 +1365,6 @@ public class OrderBasicInfoServiceImpl implements IOrderBasicInfoService {
orderSettleResult = doPaymentConfirmWithDelay(orderBasicInfo, adapayMemberAccount, appId); orderSettleResult = doPaymentConfirmWithDelay(orderBasicInfo, adapayMemberAccount, appId);
} }
// orderSettleResult = delayMerchantOrderProcessingLogic(orderBasicInfo, adapayMemberAccount, appId);
if (orderSettleResult != null && AdapayStatusEnum.SUCCEEDED.getValue().equals(orderSettleResult.getStatus())) { if (orderSettleResult != null && AdapayStatusEnum.SUCCEEDED.getValue().equals(orderSettleResult.getStatus())) {
// 应收金额 = 订单结算金额汇总 // 应收金额 = 订单结算金额汇总
receivableAmount = receivableAmount.add(orderBasicInfo.getSettleAmount()); receivableAmount = receivableAmount.add(orderBasicInfo.getSettleAmount());