| | |
| | |
|
| | | try {
|
| | | long count = 0;
|
| | | List<CommonOrderVO> list = commonOrderService.getOrderByUid(page, uid, state, type, orderState, orderNo,
|
| | | startTime, endTime, dateType);
|
| | | List<CommonOrderVO> list = commonOrderService.getOrderByUid(page, uid, state, type, orderState,
|
| | | orderNo, startTime, endTime, dateType);
|
| | |
|
| | | if (list != null && list.size() > 0) {
|
| | | count = commonOrderService.countGroupOrderNoByUid(uid, state, type, orderState, orderNo, startTime, endTime, dateType);
|
| | | count = commonOrderService.countGroupOrderNoByUid(uid, state, type, orderState, orderNo, |
| | | startTime, endTime, dateType);
|
| | | }
|
| | |
|
| | | int totalValid = 0;
|
| | |
| | | BigDecimal todayMoney = null;
|
| | | // 需要统计信息
|
| | | if (needCount && page == 1) {
|
| | | Map<String, BigDecimal> countOrder = commonOrderService.countByUidAndOrderState(uid, type, startTime, endTime);
|
| | | Map<String, BigDecimal> countOrder = commonOrderService.countByUidAndOrderState(uid, type, |
| | | startTime, endTime, dateType);
|
| | |
|
| | | if (countOrder.get("totalValid") != null) {
|
| | | totalValid = countOrder.get("totalValid").intValue();
|
| | |
| | |
|
| | | data.put("helpUrl", helpUrl);
|
| | |
|
| | | data.put("todayTotal", todayTotal);
|
| | | data.put("todayMoney", todayMoney);
|
| | | if (type != null && type == 1) {
|
| | | data.put("todayMoney", "今日预估返利总额 ¥" + todayMoney);
|
| | | } else {
|
| | | data.put("todayMoney", "预估奖金总额 ¥" + todayMoney);
|
| | | }
|
| | | data.put("todayTotal", "共"+ todayTotal+ "笔");
|
| | | data.put("totalValid", totalValid); // 有效数量
|
| | | data.put("totalProces", totalProces); // 维权数量
|
| | | data.put("totalInvite", totalInvite); // 失效数量
|