|
|
|
@@ -986,13 +986,16 @@ public class WxOrderServiceImpl implements WxOrderService { |
|
|
|
} |
|
|
|
|
|
|
|
public void queryMerchantCount(String tenantId, Map<String, Object> result) { |
|
|
|
String systemTime = DateUtils.getSystemTime("yyyy-MM-dd"); |
|
|
|
//全部商户个数 |
|
|
|
Map<String, Object> params = new HashMap<>(); |
|
|
|
params.put("tenantId", tenantId); |
|
|
|
String thirtyTime = DateUtils.getTimeBefore(29, new Date()); |
|
|
|
params.put("startdate", thirtyTime + " 00:00:00"); |
|
|
|
params.put("enddate", systemTime + " 23:59:59"); |
|
|
|
Long allMerchantCount=wxOrderMapper.queryOrderForMerchantCount(params); |
|
|
|
result.put("allMerchantCount",allMerchantCount); |
|
|
|
//今日 |
|
|
|
String systemTime = DateUtils.getSystemTime("yyyy-MM-dd"); |
|
|
|
params.put("startdate", systemTime + " 00:00:00"); |
|
|
|
params.put("enddate", systemTime + " 23:59:59"); |
|
|
|
Long todayMerchantCount=wxOrderMapper.queryOrderForMerchantCount(params); |
|
|
|
@@ -1028,13 +1031,16 @@ public class WxOrderServiceImpl implements WxOrderService { |
|
|
|
} |
|
|
|
|
|
|
|
public void queryOrderSummary(String tenantId, Map<String, Object> result) { |
|
|
|
String systemTime = DateUtils.getSystemTime("yyyy-MM-dd"); |
|
|
|
//全部商户个数 |
|
|
|
Map<String, Object> params = new HashMap<>(); |
|
|
|
params.put("tenantId", tenantId); |
|
|
|
String thirtyTime = DateUtils.getTimeBefore(29, new Date()); |
|
|
|
params.put("startdate", thirtyTime + " 00:00:00"); |
|
|
|
params.put("enddate", systemTime + " 23:59:59"); |
|
|
|
Long allOrderSummary=wxOrderMapper.queryOrderForSum(params); |
|
|
|
result.put("allOrderSummary",allOrderSummary); |
|
|
|
//今日 |
|
|
|
String systemTime = DateUtils.getSystemTime("yyyy-MM-dd"); |
|
|
|
params.put("startdate", systemTime + " 00:00:00"); |
|
|
|
params.put("enddate", systemTime + " 23:59:59"); |
|
|
|
Long todayOrderSummary=wxOrderMapper.queryOrderForSum(params); |
|
|
|
@@ -1069,5 +1075,4 @@ public class WxOrderServiceImpl implements WxOrderService { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
} |