Commit 04c836d787f00e799a04db6254d2bf424f92e4b9
1 parent
b175773e
update:修改批量支付
Showing
1 changed file
with
2 additions
and
1 deletions
etrade-order/src/main/java/com/diligrp/etrade/order/service/impl/OrderServiceImpl.java
... | ... | @@ -1409,7 +1409,8 @@ public class OrderServiceImpl implements OrderService { |
1409 | 1409 | if(first){ |
1410 | 1410 | first = false; |
1411 | 1411 | orderCreateDtos.get(shopId).setTransportFee(multipleOrderDto.getTransportFee()); |
1412 | - orderCreateDtos.get(shopId).set | |
1412 | + orderCreateDtos.get(shopId).setTotleAmount(multipleOrderDto.getTotleAmount().add(multipleOrderDto.getTransportFee())); | |
1413 | + orderCreateDtos.get(shopId).setTotlePayAmount(multipleOrderDto.getTotlePayAmount().add(multipleOrderDto.getTransportFee())); | |
1413 | 1414 | Order order = this.createOrder(orderCreateDtos.get(shopId), OrderOrderType.BUYER_ORDER.getCodeInteger(),true); |
1414 | 1415 | orders.add(order); |
1415 | 1416 | }else{ | ... | ... |