소스 검색

vip定制课

zouxuan 8 달 전
부모
커밋
faf763bfc3
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      cooleshow-user/user-biz/src/main/java/com/yonge/cooleshow/biz/dal/service/impl/StudentServiceImpl.java

+ 2 - 2
cooleshow-user/user-biz/src/main/java/com/yonge/cooleshow/biz/dal/service/impl/StudentServiceImpl.java

@@ -1112,8 +1112,8 @@ public class StudentServiceImpl extends ServiceImpl<StudentDao, Student> impleme
     public StudentIndexWrapper.SummaryDto indexSummary(Long userId) {
         Date now = new Date();
         //获取学员本周练习时长
-        Date monday = DateUtil.getWeekDayWithDate(now,1);
-        Date sunday = DateUtil.getWeekDayWithDate(now,7);
+        Date monday = DateUtil.getWeekDayWithDate(now,2);
+        Date sunday = DateUtil.getWeekDayWithDate(now,1);
         StudentIndexWrapper.SummaryDto summaryDto = new StudentIndexWrapper.SummaryDto();
         //统计学员本周练习时长
         summaryDto.setRecordTime(sysMusicCompareRecordService.getDao().countStudentPracticeTime(userId, monday, sunday));