|
|
|
@@ -1417,13 +1417,8 @@ public class WxOrderServiceImpl implements WxOrderService { |
|
|
|
String thirtyTime = DateUtils.getTimeBefore(29, new Date()); |
|
|
|
params.put("startdate", thirtyTime + " 00:00:00"); |
|
|
|
params.put("enddate", systemTime + " 23:59:59"); |
|
|
|
params.put("order_status", "1"); |
|
|
|
Long allPayOrderCount = wxOrderMapper.queryOrderForCount(params); |
|
|
|
params.put("order_status", "4"); |
|
|
|
Long allRefundOrderCount = wxOrderMapper.queryOrderForCount(params); |
|
|
|
result.put("allRefundOrderCount", allRefundOrderCount); |
|
|
|
Long allOrderSummary = allPayOrderCount - allRefundOrderCount; |
|
|
|
result.put("allOrderCount", allPayOrderCount); |
|
|
|
Long allOrderCount = wxOrderMapper.queryOrderForCount(params); |
|
|
|
result.put("allOrderCount", allOrderCount); |
|
|
|
//今日 |
|
|
|
params.put("startdate", systemTime + " 00:00:00"); |
|
|
|
params.put("enddate", systemTime + " 23:59:59"); |
|
|
|
@@ -1440,7 +1435,6 @@ public class WxOrderServiceImpl implements WxOrderService { |
|
|
|
params.put("startdate", lastweek + " 00:00:00"); |
|
|
|
params.put("enddate", lastweek + " 23:59:59"); |
|
|
|
Long lastweekOrderCount = wxOrderMapper.queryOrderForCount(params); |
|
|
|
|
|
|
|
result.put("lastweekOrderCount", lastweekOrderCount); |
|
|
|
//订单数日环比 |
|
|
|
if (yesterdayOrderCount > 0) { |
|
|
|
|