|
@@ -89,13 +89,13 @@ public class AidingStudentsPersonManageServiceImpl extends ServiceImpl<AidingStu
|
|
|
// 学院ID
|
|
|
Long collegeId = deptApi.getCollegeId(user.getDeptId());
|
|
|
aDo.setCollegeId(collegeId);
|
|
|
- // 学院名称
|
|
|
- DeptRespDTO dept = deptApi.getDept(user.getDeptId());
|
|
|
- aDo.setCollegeName(dept.getName());
|
|
|
+
|
|
|
+ Map resultmap = aidingStudentsPersonManageMapper.getMajorById(map.get("SZZYM"));
|
|
|
+ log.info("resultMap = {}", resultmap);
|
|
|
// 专业名称
|
|
|
- Map szzym = aidingStudentsPersonManageMapper.getMajorById(map.get("SZZYM"));
|
|
|
- log.info("szzym = {}", szzym);
|
|
|
- aDo.setMajor((String) szzym.get("ZYMC"));
|
|
|
+ aDo.setMajor((String) resultmap.get("ZYMC"));
|
|
|
+ // 学院名称
|
|
|
+ aDo.setCollegeName((String) resultmap.get("DWMC"));
|
|
|
// 年级
|
|
|
aDo.setGrade((String) map.get("SZNJ"));
|
|
|
// 姓名
|
|
@@ -273,15 +273,16 @@ public class AidingStudentsPersonManageServiceImpl extends ServiceImpl<AidingStu
|
|
|
*/
|
|
|
List<AidingStudentsPersonManageDO> allList = aidingStudentsPersonManageMapper
|
|
|
.selectList(new LambdaQueryWrapper<AidingStudentsPersonManageDO>()
|
|
|
- .eq(pageReqVO.getCollegeManageId() != null, AidingStudentsPersonManageDO::getCollegeId, pageReqVO.getCollegeManageId())
|
|
|
+ .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())
|
|
|
.like(StringUtils.isNotBlank(pageReqVO.getMajor()), AidingStudentsPersonManageDO::getMajor, pageReqVO.getMajor())
|
|
|
.like(StringUtils.isNotBlank(pageReqVO.getGrade()), AidingStudentsPersonManageDO::getGrade, pageReqVO.getGrade())
|
|
|
.like(StringUtils.isNotBlank(pageReqVO.getClName()), AidingStudentsPersonManageDO::getClassName, pageReqVO.getClName())
|
|
|
- .like(StringUtils.isNotBlank(pageReqVO.getName()), AidingStudentsPersonManageDO::getNickname, pageReqVO.getName())
|
|
|
+ .like(StringUtils.isNotBlank(pageReqVO.getNickname()), AidingStudentsPersonManageDO::getNickname, pageReqVO.getNickname())
|
|
|
.like(StringUtils.isNotBlank(pageReqVO.getStudentSno()), AidingStudentsPersonManageDO::getStudentSno, pageReqVO.getStudentSno())
|
|
|
);
|
|
|
+ log.info("allList = {}", allList);
|
|
|
return new PageResult<>(BeanUtils.toBean(allList, AidingStudentPersonManageSchoolRespVO.class), (long) allList.size());
|
|
|
}
|
|
|
|