|
|
@ -221,6 +221,7 @@ public class BankServiceImpl implements BankService { |
|
|
List<String> messages = new ArrayList<>(); |
|
|
List<String> messages = new ArrayList<>(); |
|
|
// 对paymentDTOList中的每个元素进行处理 |
|
|
// 对paymentDTOList中的每个元素进行处理 |
|
|
List<PaymentDTO> processedPayments = new ArrayList<>(); |
|
|
List<PaymentDTO> processedPayments = new ArrayList<>(); |
|
|
|
|
|
List<String> orderNoList = cashCollectionMapper.selectPaymentList(); |
|
|
for (PaymentDTO paymentDTO : paymentDTOList) { |
|
|
for (PaymentDTO paymentDTO : paymentDTOList) { |
|
|
try { |
|
|
try { |
|
|
|
|
|
|
|
|
@ -236,8 +237,6 @@ public class BankServiceImpl implements BankService { |
|
|
|
|
|
|
|
|
// 获取订单号 |
|
|
// 获取订单号 |
|
|
String orderNo = paymentDTO.getMerchant_reference(); |
|
|
String orderNo = paymentDTO.getMerchant_reference(); |
|
|
|
|
|
|
|
|
List<String> orderNoList = cashCollectionMapper.selectPaymentList(); |
|
|
|
|
|
// 检查当前订单号是否在列表中 |
|
|
// 检查当前订单号是否在列表中 |
|
|
if (orderNoList.contains(orderNo)) { |
|
|
if (orderNoList.contains(orderNo)) { |
|
|
cashCollectionMapper.updateByGoldCoinOrderCodeByPayment(paymentDTO); |
|
|
cashCollectionMapper.updateByGoldCoinOrderCodeByPayment(paymentDTO); |
|
|
|