Commit cc70857c07732558bc94609a91031ebc2fdb59c9

Authored by fengliang
1 parent f310dd73

update:修复合计退款字段

etrade-order/src/main/java/com/diligrp/etrade/order/service/impl/OrderQueryServiceImpl.java
... ... @@ -84,7 +84,7 @@ public class OrderQueryServiceImpl implements OrderQueryService {
84 84 if(map!=null){
85 85 success.setTotalAmount(map.get("totalAmount")==null?BigDecimal.ZERO:map.get("totalAmount").setScale(2, BigDecimal.ROUND_HALF_UP));
86 86 success.setTotalTransferAmount(map.get("totalTransferAmount")==null?BigDecimal.ZERO:map.get("totalTransferAmount").setScale(2, BigDecimal.ROUND_HALF_UP));
87   - success.setTotalTransferAmount(map.get("totalRefundAmount")==null?BigDecimal.ZERO:map.get("totalRefundAmount").setScale(2, BigDecimal.ROUND_HALF_UP));
  87 + success.setTotalRefundAmount(map.get("totalRefundAmount")==null?BigDecimal.ZERO:map.get("totalRefundAmount").setScale(2, BigDecimal.ROUND_HALF_UP));
88 88 success.setTotalGoodsAmount(success.getTotalAmount().subtract(success.getTotalTransferAmount()).setScale(2, BigDecimal.ROUND_HALF_UP));
89 89 }else{
90 90 success.setTotalAmount(BigDecimal.ZERO);
... ...