| | |
| | | for (Order order : value) { |
| | | if (order.getOrderType().equals(1)) { |
| | | serviceTotal++; |
| | | serviceTotalMoney = serviceTotalMoney.add(order.getPaymentAmount()); |
| | | serviceTotalMoney = serviceTotalMoney.add(order.getTotalAmount()); |
| | | total++; |
| | | totalMoney = totalMoney.add(order.getPaymentAmount()); |
| | | }else if (order.getOrderType().equals(2) && 1 == order.getDistributionMode()){ |
| | | totalMoney = totalMoney.add(order.getTotalAmount()); |
| | | }else if (order.getOrderType().equals(2)){ |
| | | singleTotal++; |
| | | singleTotalMoney = singleTotalMoney.add(order.getPaymentAmount()); |
| | | singleTotalMoney = singleTotalMoney.add(order.getTotalAmount()); |
| | | total++; |
| | | totalMoney = totalMoney.add(order.getPaymentAmount()); |
| | | totalMoney = totalMoney.add(order.getTotalAmount()); |
| | | } |
| | | } |
| | | orderStatisticsDetail.setDate(key); |