Commit e6a12e7a authored by libin's avatar libin

租车订单统计

parent 1695a097
...@@ -72,7 +72,7 @@ public class OrderRentVehicleReceivedStatisticsBiz extends BaseBiz<OrderRentVehi ...@@ -72,7 +72,7 @@ public class OrderRentVehicleReceivedStatisticsBiz extends BaseBiz<OrderRentVehi
refundAmount.add(accountDetailEntity.getOrderAmount()).add(accountDetailEntity.getDepositAmount()); refundAmount.add(accountDetailEntity.getOrderAmount()).add(accountDetailEntity.getDepositAmount());
} }
} }
orderRentVehicleReceivedStatistics.setTotalAmount(totalAmount); orderRentVehicleReceivedStatistics.setTotalAmount(totalAmount.subtract(refundAmount));
Long totalQuantity = stateGroupMap == null?0L:stateGroupMap.get(orderKey)==null?0L:stateGroupMap.get(orderKey); Long totalQuantity = stateGroupMap == null?0L:stateGroupMap.get(orderKey)==null?0L:stateGroupMap.get(orderKey);
orderRentVehicleReceivedStatistics.setTotalQuantity(totalQuantity.intValue()); orderRentVehicleReceivedStatistics.setTotalQuantity(totalQuantity.intValue());
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment