|
@@ -532,7 +532,7 @@ public class IndexBaseMonthDataServiceImpl extends BaseServiceImpl<Long, IndexBa
|
|
|
twoChild.add(new IndexErrInfoDto(IndexErrorType.STUDENT_APPLY_FOR_QUIT_MUSIC_GROUP, IndexErrorType.STUDENT_APPLY_FOR_QUIT_MUSIC_GROUP.getMsg(), quitGroupNum.size(), quitGroupNum));
|
|
|
|
|
|
//乐团学员会员到期首页提醒
|
|
|
- List<StudentRegistration> studentRegistrations = studentRegistrationDao.queryMemberEndAutoQuitMusic("1",null);
|
|
|
+ List<StudentRegistration> studentRegistrations = studentRegistrationDao.queryMemberEndAutoQuitMusic("1",null,educationUserId);
|
|
|
IndexErrInfoDto noClassMusicGroupStudentInfo = new IndexErrInfoDto();
|
|
|
Set<String> musicGroupIds = studentRegistrations.stream().map(e -> e.getMusicGroupId()).collect(Collectors.toSet());
|
|
|
Set<Integer> userIds = studentRegistrations.stream().map(e -> e.getUserId()).collect(Collectors.toSet());
|
|
@@ -910,7 +910,7 @@ public class IndexBaseMonthDataServiceImpl extends BaseServiceImpl<Long, IndexBa
|
|
|
if(StringUtils.isEmpty(configValue)){
|
|
|
configValue = "15";
|
|
|
}
|
|
|
- List<StudentRegistration> studentRegistrations = studentRegistrationDao.queryMemberEndAutoQuitMusic(configValue,0);
|
|
|
+ List<StudentRegistration> studentRegistrations = studentRegistrationDao.queryMemberEndAutoQuitMusic(configValue,0,educationUserId);
|
|
|
Set<String> musicGroupIdList = studentRegistrations.stream().map(e -> e.getMusicGroupId()).collect(Collectors.toSet());
|
|
|
Set<Integer> userIds = studentRegistrations.stream().map(e -> e.getUserId()).collect(Collectors.toSet());
|
|
|
IndexErrInfoDto infoDto = new IndexErrInfoDto();
|
|
@@ -982,6 +982,16 @@ public class IndexBaseMonthDataServiceImpl extends BaseServiceImpl<Long, IndexBa
|
|
|
flag2 = true;
|
|
|
}
|
|
|
}
|
|
|
+ if(!flag2){
|
|
|
+ String configValue = sysConfigDao.findConfigValue(SysConfigService.PUSH_MEMBER_RENEW_QUIT);
|
|
|
+ if(StringUtils.isEmpty(configValue)){
|
|
|
+ configValue = "15";
|
|
|
+ }
|
|
|
+ List<StudentRegistration> studentRegistrations = studentRegistrationDao.queryMemberEndAutoQuitMusic(configValue,0,educationUserId);
|
|
|
+ if(studentRegistrations.size() > 0){
|
|
|
+ flag2 = true;
|
|
|
+ }
|
|
|
+ }
|
|
|
|
|
|
resultMap.put("studentInfo",flag2);
|
|
|
boolean flag3 = false;
|
|
@@ -1084,6 +1094,15 @@ public class IndexBaseMonthDataServiceImpl extends BaseServiceImpl<Long, IndexBa
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
+ if(!flag5){
|
|
|
+ //获取关联的乐团列表
|
|
|
+ if(!flag2){
|
|
|
+ List<StudentRegistration> studentRegistrations = studentRegistrationDao.queryMemberEndAutoQuitMusic("1",null,educationUserId);
|
|
|
+ if(studentRegistrations.size() > 0){
|
|
|
+ flag5 = true;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
resultMap.put("remindMatterData",flag5);
|
|
|
|
|
|
return resultMap;
|