MrShi
2 天以前 e7e2a77a824a0e6a80a3bc7f221c83db8223bf0c
server/dmmall_service/src/main/java/com/doumee/service/business/impl/CoffeeBeanTaskServiceImpl.java
@@ -70,7 +70,7 @@
                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);
@@ -82,7 +82,7 @@
                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);
@@ -99,8 +99,8 @@
                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);