doum
2025-12-12 dce1e83ec27a066ebc6c17a4ac6d03c9ad6ff703
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);