|
@@ -120,7 +120,7 @@ public class OrderServiceImpl extends ServiceImpl<OrderMapper, Order> implements
|
|
|
return new OrderListVO(param.toPage().getSize());
|
|
|
}
|
|
|
//统计:订单金额与实付金额
|
|
|
- Order total = super.getOne(getListWrapper(param, agentIdList, "IFNULL(SUM(order_amount),0) orderAmount, IFNULL(SUM(real_amount),0) realAmount"));
|
|
|
+ Order total = super.getOne(getListWrapper(param, agentIdList, "IFNULL(SUM(amount),0) orderAmount, IFNULL(SUM(real_amount),0) realAmount"));
|
|
|
HashMap<String, BigDecimal> totalData = new HashMap<>();
|
|
|
if (total == null) {
|
|
|
totalData.put("totalOrderAmount", new BigDecimal("0.00"));
|