| | |
| | | |
| | | Date startDate = DateUtil.toDate(DateUtil.getMonday()); |
| | | Date endDate = DateUtil.toDate(DateUtil.getSunday()); |
| | | Integer count = sharesService.count(startDate, endDate, loginUserInfo.getMemberId(), Arrays.asList(0,1,2,3,4)); |
| | | long count = sharesService.count(startDate, endDate, loginUserInfo.getMemberId(), Arrays.asList(0,1,2,3,4)); |
| | | CoffeeBeanTaskDTO dto = new CoffeeBeanTaskDTO(); |
| | | dto.setCode(dictData.getCode()); |
| | | dto.setDoneCount(count); |
| | |
| | | |
| | | Date startDate = DateUtil.toDate(DateUtil.getMonday()); |
| | | Date endDate = DateUtil.toDate(DateUtil.getSunday()); |
| | | Integer count = sharesService.count(startDate, endDate, loginUserInfo.getMemberId(),Arrays.asList(5)); |
| | | long count = sharesService.count(startDate, endDate, loginUserInfo.getMemberId(),Arrays.asList(5)); |
| | | CoffeeBeanTaskDTO dto = new CoffeeBeanTaskDTO(); |
| | | dto.setCode(dictData.getCode()); |
| | | dto.setDoneCount(count); |
| | |
| | | |
| | | Date startDate = DateUtil.toDate(DateUtil.getMonday()); |
| | | Date endDate = DateUtil.toDate(DateUtil.getSunday()); |
| | | Integer count = commentService.count(startDate, endDate, loginUserInfo.getMemberId()); |
| | | Integer shopcount = shopCommentService.count(startDate, endDate, loginUserInfo.getMemberId(),null); |
| | | long count = commentService.count(startDate, endDate, loginUserInfo.getMemberId()); |
| | | long shopcount = shopCommentService.count(startDate, endDate, loginUserInfo.getMemberId(),null); |
| | | CoffeeBeanTaskDTO dto = new CoffeeBeanTaskDTO(); |
| | | dto.setCode(dictData.getCode()); |
| | | dto.setDoneCount(count+shopcount); |