38ae75d9 刘嘉

菠萝派接口-订单下载,注订单获取实际付款的贷款金额

1 个父辈 3c7d28f4
...@@ -107,6 +107,9 @@ public class PlatformOrderToPineAppleOrderConverter implements Converter<DoingOr ...@@ -107,6 +107,9 @@ public class PlatformOrderToPineAppleOrderConverter implements Converter<DoingOr
107 return source.getOrder1s() 107 return source.getOrder1s()
108 .stream() 108 .stream()
109 .map(p -> { 109 .map(p -> {
110 if (p.getDiscountLinePrice() != null) {
111 return p.getDiscountLinePrice();
112 }
110 return p.getLinePrice(); 113 return p.getLinePrice();
111 }) 114 })
112 .reduce(new BigDecimal(0), (a, b) -> a.add(b)) 115 .reduce(new BigDecimal(0), (a, b) -> a.add(b))
......