|
|
|
@@ -2247,15 +2247,10 @@ public class WxChartServiceImpl implements WxChartDataService { |
|
|
|
* @param tenantId |
|
|
|
* @return |
|
|
|
*/ |
|
|
|
private ResultData getIndexShopRentData(String tenantId, String startDateStr) { |
|
|
|
private ResultData getIndexShopRentData(String tenantId) { |
|
|
|
HashMap<String, Object> datamap = new HashMap<>(); |
|
|
|
Date startDate = DateUtils.getDateFromString(startDateStr,"yyyy-MM-dd HH:mm:ss").getTime(); |
|
|
|
startDate = DateUtils.getFirstDayForCurrMonth(startDate); |
|
|
|
Date endDate = DateUtils.getLastDayForMonth(startDate); |
|
|
|
WxShop query = new WxShop(); |
|
|
|
query.setTenantId(tenantId); |
|
|
|
query.setStartdate(startDate); |
|
|
|
query.setEnddate(endDate); |
|
|
|
|
|
|
|
query.setType(null); |
|
|
|
Long total = wxShopMapper.getCountByWxShop(query); |
|
|
|
|