|
@@ -114,12 +114,12 @@ public class AidingStudentsPersonManageServiceImpl extends ServiceImpl<AidingStu
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
- * 学院获取各个班级的分页信息
|
|
|
+ * 学院获取各个班级数据统计
|
|
|
* @param pageReqVO
|
|
|
* @return
|
|
|
*/
|
|
|
@Override
|
|
|
- public PageResult<AidingStudentPersonManageInfoRespVO> getAidingStudentsPersonManageCollegePage(
|
|
|
+ public PageResult<AidingStudentPersonManageInfoRespVO> getAidingStudentsPersonManageCollegeData(
|
|
|
AidingStudentPersonManageInfoPageReqVO pageReqVO) {
|
|
|
AidingStudentPersonManageInfoRespVO vo = new AidingStudentPersonManageInfoRespVO();
|
|
|
List<AidingStudentPersonManageClassVO> list = new ArrayList<>();
|
|
@@ -203,21 +203,21 @@ public class AidingStudentsPersonManageServiceImpl extends ServiceImpl<AidingStu
|
|
|
* @param pageReqVO
|
|
|
* @return
|
|
|
*/
|
|
|
- @Override
|
|
|
+ /*@Override
|
|
|
public PageResult<AidingStudentsPersonManageDO> getAidingStudentsPersonManageClassPage(
|
|
|
AidingStudentPersonManageInfoPageReqVO pageReqVO) {
|
|
|
return aidingStudentsPersonManageMapper.selectPage(pageReqVO);
|
|
|
- }
|
|
|
+ }*/
|
|
|
|
|
|
/**
|
|
|
- * 定序与建议等级- 集体
|
|
|
+ * 定序与建议等级
|
|
|
* @param ids
|
|
|
*/
|
|
|
@Override
|
|
|
public void allsortAidingStudentsManage(List<AidingStudentPersonManageSortReqVO> ids) {
|
|
|
for (AidingStudentPersonManageSortReqVO id : ids) {
|
|
|
LambdaUpdateWrapper<AidingStudentsPersonManageDO> updateWrapper = new LambdaUpdateWrapper<>();
|
|
|
- updateWrapper.eq(AidingStudentsPersonManageDO::getId, id)
|
|
|
+ updateWrapper.eq(AidingStudentsPersonManageDO::getId, id.getId())
|
|
|
.set(AidingStudentsPersonManageDO::getSort, id.getSort());
|
|
|
if (id.getClassSuggestionDifficultType() != null)
|
|
|
updateWrapper.set(AidingStudentsPersonManageDO::getClassSuggestionDifficultType, id.getClassSuggestionDifficultType());
|
|
@@ -244,7 +244,7 @@ public class AidingStudentsPersonManageServiceImpl extends ServiceImpl<AidingStu
|
|
|
|
|
|
|
|
|
/**
|
|
|
- * (学校)办公室老师获取学生分页信息
|
|
|
+ * 学生分页信息
|
|
|
* @param pageReqVO
|
|
|
* @return
|
|
|
*/
|
|
@@ -258,17 +258,19 @@ public class AidingStudentsPersonManageServiceImpl extends ServiceImpl<AidingStu
|
|
|
.like(StringUtils.isNotBlank(pageReqVO.getCollegeName()), AidingStudentsPersonManageDO::getCollegeName, pageReqVO.getCollegeName())
|
|
|
.eq(pageReqVO.getManageId() != null ,AidingStudentsPersonManageDO::getManageId, pageReqVO.getManageId())
|
|
|
.eq(pageReqVO.getDifficultType() != null,AidingStudentsPersonManageDO::getDifficultType, pageReqVO.getDifficultType())
|
|
|
+ .eq(pageReqVO.getCollegeManageId() != null,AidingStudentsPersonManageDO::getCollegeManageId, pageReqVO.getCollegeManageId())
|
|
|
.like(StringUtils.isNotBlank(pageReqVO.getMajor()), AidingStudentsPersonManageDO::getMajor, pageReqVO.getMajor())
|
|
|
.like(StringUtils.isNotBlank(pageReqVO.getGrade()), AidingStudentsPersonManageDO::getGrade, pageReqVO.getGrade())
|
|
|
.like(StringUtils.isNotBlank(pageReqVO.getClassName()), AidingStudentsPersonManageDO::getClassName, pageReqVO.getClassName())
|
|
|
.like(StringUtils.isNotBlank(pageReqVO.getNickname()), AidingStudentsPersonManageDO::getNickname, pageReqVO.getNickname())
|
|
|
.like(StringUtils.isNotBlank(pageReqVO.getStudentSno()), AidingStudentsPersonManageDO::getStudentSno, pageReqVO.getStudentSno())
|
|
|
+ .orderByDesc(AidingStudentsPersonManageDO::getSort)
|
|
|
);
|
|
|
return new PageResult<>(BeanUtils.toBean(allList, AidingStudentPersonManageInfoRespVO.class), (long) allList.size());
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
- * 获取各个学院的部分信息
|
|
|
+ * 学校-获取各个学院的数据
|
|
|
* @param manageId
|
|
|
* @return
|
|
|
*/
|