|
|
|
@@ -138,19 +138,16 @@ public class WxUserStructureController extends BaseController { |
|
|
|
dto.setTenantId(getTenantId()); |
|
|
|
dto.setStartTime(startTime); |
|
|
|
dto.setEndTime(endTime); |
|
|
|
List<Long> idList = wxCUserBasicInfoService.findIdList(dto); |
|
|
|
long total = wxCUserBasicInfoService.findCount(dto); |
|
|
|
|
|
|
|
WxCUserCar wxCUserCar = new WxCUserCar(); |
|
|
|
|
|
|
|
wxCUserCar.setTenantId(getTenantId()); |
|
|
|
wxCUserCar.setIds(idList); //注:countUser接口通过ids传递user_id list. |
|
|
|
long userCountWithCar = wxCUserCarService.countUser(wxCUserCar); |
|
|
|
long userCountWithCar = wxCUserCarService.countUser(dto); |
|
|
|
Map userWithCar = new HashMap(); |
|
|
|
userWithCar.put("title","已绑定车牌"); |
|
|
|
userWithCar.put("count",userCountWithCar); |
|
|
|
|
|
|
|
|
|
|
|
long userCountWithoutCar = idList.size()-userCountWithCar; |
|
|
|
long userCountWithoutCar = total-userCountWithCar; |
|
|
|
|
|
|
|
Map userWithoutCar = new HashMap(); |
|
|
|
userWithoutCar.put("title","未绑定车牌"); |
|
|
|
|