|
@@ -54,6 +54,8 @@ public class SysMusicCompareRecordServiceImpl extends BaseServiceImpl<Long, SysM
|
|
|
@Autowired
|
|
|
private StudentDao studentDao;
|
|
|
@Autowired
|
|
|
+ private StudentRegistrationDao studentRegistrationDao;
|
|
|
+ @Autowired
|
|
|
private StudentVisitDao studentVisitDao;
|
|
|
@Autowired
|
|
|
private SysMessageService sysMessageService;
|
|
@@ -471,6 +473,22 @@ public class SysMusicCompareRecordServiceImpl extends BaseServiceImpl<Long, SysM
|
|
|
if(CollectionUtils.isEmpty(studentIdList)){
|
|
|
return pageInfo;
|
|
|
}
|
|
|
+ //是否乐团在读学员
|
|
|
+ if(queryInfo.getMusicFlag()){
|
|
|
+// studentRegistrationDao.
|
|
|
+ }
|
|
|
+ if(StringUtils.isNotEmpty(queryInfo.getMusicGroupId())){
|
|
|
+ //获取乐团下的学员列表
|
|
|
+ List<Integer> studentIds = studentRegistrationDao.findNormalStu(queryInfo.getMusicGroupId(), queryInfo.getClassGroupId());
|
|
|
+ if(CollectionUtils.isEmpty(studentIds)){
|
|
|
+ return pageInfo;
|
|
|
+ }
|
|
|
+ //取交集
|
|
|
+ studentIdList.retainAll(studentIds);
|
|
|
+ if(CollectionUtils.isEmpty(studentIdList)){
|
|
|
+ return pageInfo;
|
|
|
+ }
|
|
|
+ }
|
|
|
if (queryInfo.getMemberFlag() != null){
|
|
|
//筛选vip学员
|
|
|
studentIdList = studentDao.queryMemberStudent(queryInfo.getMemberFlag(),studentIdList);
|