xboot-modules/xboot-your/src/main/java/cn/exrick/xboot/your/schedulings/StatisticScheduleImpl.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
xboot-modules/xboot-your/src/main/java/cn/exrick/xboot/your/schedulings/StatisticScheduleImpl.java
@@ -88,11 +88,12 @@ wrapper3.eq("user_id",user.getId()); Area area = iAreaService.getOne(wrapper3); QueryWrapper<Customer> wrapper4 = new QueryWrapper<>(); wrapper4.eq("area_id",area.getId()); int count3 = iCustomerService.count(wrapper4); one.setService(count3); if(area!=null){ QueryWrapper<Customer> wrapper4 = new QueryWrapper<>(); wrapper4.eq("area_id",area.getId()); int count3 = iCustomerService.count(wrapper4); one.setService(count3); } } iUserStatisticService.saveOrUpdate(one);