Commit f746a23b6899592b5390a119b1f1a2bdb5eecad7
1 parent
c1e4d402
update:修复退款只园区卡发送数据
Showing
1 changed file
with
3 additions
and
2 deletions
etrade-order/src/main/java/com/diligrp/etrade/order/service/impl/OrderServiceImpl.java
... | ... | @@ -1375,12 +1375,13 @@ public class OrderServiceImpl implements OrderService { |
1375 | 1375 | //检查交易类型如果是买方下单园区卡支付,效验买卖双方账户情况并发起退款 |
1376 | 1376 | if(orderDetail.getOrderPaymentDto().getPayChannel().equals(OrderPaymentAllChannel.CARD_CHANNEL.getCodeInteger())){ |
1377 | 1377 | balanceResponseDto = orderPaymentService.canclePay(orderDetail.getOrderPaymentDto()); |
1378 | + //发送数据收集 | |
1379 | + sendToCollector.sendToKingDee(order); | |
1378 | 1380 | } |
1379 | 1381 | //红冲流水 |
1380 | 1382 | order.setCreatedTime(orderDto.getCreatedTime()); |
1381 | 1383 | orderPaymentService.sendInvalidSerialRecord(balanceResponseDto,order,orderPayment,coupons,null); |
1382 | - //发送数据收集 | |
1383 | - sendToCollector.sendToKingDee(order); | |
1384 | + | |
1384 | 1385 | return orderDto; |
1385 | 1386 | } |
1386 | 1387 | ... | ... |