|
@@ -504,7 +504,7 @@ public class StudentServeServiceImpl implements StudentServeService {
|
|
|
continue;
|
|
|
}
|
|
|
|
|
|
- List<Mapper> mapperList = courseScheduleStudentPaymentDao.queryUserMusicGroupCourseNumByClassTime(GroupType.MUSIC, musicGroupIds, userId, new Date(2019, 1, 1), LocalDateToUdate(monDayDate));
|
|
|
+ List<Mapper> mapperList = courseScheduleStudentPaymentDao.queryUserMusicGroupCourseNumByClassTime(GroupType.MUSIC, musicGroupIds, userId, new Date(0, 1, 1), LocalDateToUdate(monDayDate));
|
|
|
Map<Object, Object> map = mapperList.stream().collect(Collectors.toMap(Mapper :: getKey, Mapper :: getValue));
|
|
|
|
|
|
|
|
@@ -512,7 +512,7 @@ public class StudentServeServiceImpl implements StudentServeService {
|
|
|
for (String groupId : musicGroupIds) {
|
|
|
|
|
|
//学生在当前乐团没有上过课,就不需要生成服务指标
|
|
|
- if(map.get(groupId) == null || (int)map.get(groupId) == 0){
|
|
|
+ if(map.get(groupId) == null || (long)map.get(groupId) == 0){
|
|
|
continue;
|
|
|
}
|
|
|
|
|
@@ -592,15 +592,15 @@ public class StudentServeServiceImpl implements StudentServeService {
|
|
|
if(CollectionUtils.isEmpty(musicGroupIds)){
|
|
|
continue;
|
|
|
}
|
|
|
-
|
|
|
- List<Mapper> mapperList = courseScheduleStudentPaymentDao.queryUserMusicGroupCourseNumByClassTime(GroupType.MUSIC, musicGroupIds, noCourseServeStudentId, new Date(2019, 1, 1), LocalDateToUdate(monDayDate));
|
|
|
+
|
|
|
+ List<Mapper> mapperList = courseScheduleStudentPaymentDao.queryUserMusicGroupCourseNumByClassTime(GroupType.MUSIC, musicGroupIds, noCourseServeStudentId, new Date(0, 1, 1), LocalDateToUdate(monDayDate));
|
|
|
Map<Object, Object> map = mapperList.stream().collect(Collectors.toMap(Mapper :: getKey, Mapper :: getValue));
|
|
|
|
|
|
Map<Integer, Integer> teacherNumMap = new HashMap<>();
|
|
|
for (String groupId : musicGroupIds) {
|
|
|
-
|
|
|
+
|
|
|
//学生在当前乐团没有上过课,就不需要生成服务指标
|
|
|
- if(map.get(groupId) == null || (int)map.get(groupId) == 0){
|
|
|
+ if(map.get(groupId) == null || (long)map.get(groupId) == 0){
|
|
|
continue;
|
|
|
}
|
|
|
|