|
@@ -70,7 +70,7 @@ public class AidingStudentsPersonManageServiceImpl extends ServiceImpl<AidingStu
|
|
AidingStudentPersonManageInfoRespVO result = new AidingStudentPersonManageInfoRespVO();
|
|
AidingStudentPersonManageInfoRespVO result = new AidingStudentPersonManageInfoRespVO();
|
|
Map map = aidingStudentsPersonManageMapper.getByStudentId(user.getStudentId());
|
|
Map map = aidingStudentsPersonManageMapper.getByStudentId(user.getStudentId());
|
|
result.setClassName((String) map.get("SZBJMC"));
|
|
result.setClassName((String) map.get("SZBJMC"));
|
|
- result.setStudentSno(user.getStudentId());
|
|
|
|
|
|
+ result.setStudentId(user.getStudentId());
|
|
result.setEnrollmentYear((String) map.get("RXNY"));
|
|
result.setEnrollmentYear((String) map.get("RXNY"));
|
|
result.setIdCard((String) map.get("SFZJH"));
|
|
result.setIdCard((String) map.get("SFZJH"));
|
|
result.setRegisteredResidence((String) map.get("JG"));
|
|
result.setRegisteredResidence((String) map.get("JG"));
|
|
@@ -94,7 +94,7 @@ public class AidingStudentsPersonManageServiceImpl extends ServiceImpl<AidingStu
|
|
.selectOne(new LambdaQueryWrapper<AidingStudentsPersonManageDO>()
|
|
.selectOne(new LambdaQueryWrapper<AidingStudentsPersonManageDO>()
|
|
.eq(AidingStudentsPersonManageDO::getManageId, uploadVO.getManageId())
|
|
.eq(AidingStudentsPersonManageDO::getManageId, uploadVO.getManageId())
|
|
.eq(AidingStudentsPersonManageDO::getCollegeManageId, uploadVO.getCollegeManageId())
|
|
.eq(AidingStudentsPersonManageDO::getCollegeManageId, uploadVO.getCollegeManageId())
|
|
- .eq(AidingStudentsPersonManageDO::getStudentSno, uploadVO.getStudentSno()));
|
|
|
|
|
|
+ .eq(AidingStudentsPersonManageDO::getStudentId, uploadVO.getStudentId()));
|
|
if(user1 != null){
|
|
if(user1 != null){
|
|
throw exception(STUDENT_INFO_EXISTS);
|
|
throw exception(STUDENT_INFO_EXISTS);
|
|
}
|
|
}
|
|
@@ -131,7 +131,7 @@ public class AidingStudentsPersonManageServiceImpl extends ServiceImpl<AidingStu
|
|
public AidingStudentPersonManageInfoRespVO checkAidingStudentsManage() {
|
|
public AidingStudentPersonManageInfoRespVO checkAidingStudentsManage() {
|
|
return BeanUtils
|
|
return BeanUtils
|
|
.toBean(aidingStudentsPersonManageMapper
|
|
.toBean(aidingStudentsPersonManageMapper
|
|
- .selectOne(AidingStudentsPersonManageDO::getStudentSno, adminUserApi.getUser(getLoginUser().getId()).getStudentId())
|
|
|
|
|
|
+ .selectOne(AidingStudentsPersonManageDO::getStudentId, adminUserApi.getUser(getLoginUser().getId()).getStudentId())
|
|
, AidingStudentPersonManageInfoRespVO.class);
|
|
, AidingStudentPersonManageInfoRespVO.class);
|
|
}
|
|
}
|
|
|
|
|
|
@@ -229,19 +229,9 @@ public class AidingStudentsPersonManageServiceImpl extends ServiceImpl<AidingStu
|
|
return result;
|
|
return result;
|
|
}
|
|
}
|
|
|
|
|
|
-// /**
|
|
|
|
-// * 班级获取学生申请信息分页
|
|
|
|
-// * @param pageReqVO
|
|
|
|
-// * @return
|
|
|
|
-// */
|
|
|
|
- /*@Override
|
|
|
|
- public PageResult<AidingStudentsPersonManageDO> getAidingStudentsPersonManageClassPage(
|
|
|
|
- AidingStudentPersonManageInfoPageReqVO pageReqVO) {
|
|
|
|
- return aidingStudentsPersonManageMapper.selectPage(pageReqVO);
|
|
|
|
- }*/
|
|
|
|
|
|
|
|
@Override
|
|
@Override
|
|
- public List<AidingStudentsPersonManageDO> getAidingStudentsPersonManageClassPage(List<String> ids,
|
|
|
|
|
|
+ public List<AidingStudentsPersonManageDO> getAidingStudentsPersonManageClassPage(List<String> ids,
|
|
BpmTaskPageReqVO pageVO){
|
|
BpmTaskPageReqVO pageVO){
|
|
return aidingStudentsPersonManageMapper.selectListByProcessInstanceId(ids,pageVO);
|
|
return aidingStudentsPersonManageMapper.selectListByProcessInstanceId(ids,pageVO);
|
|
};
|
|
};
|
|
@@ -293,7 +283,7 @@ public class AidingStudentsPersonManageServiceImpl extends ServiceImpl<AidingStu
|
|
* @return
|
|
* @return
|
|
*/
|
|
*/
|
|
@Override
|
|
@Override
|
|
- public PageResult<AidingStudentPersonManageInfoRespVO> schoolgetAidingStudentsPersonManagePage(AidingStudentPersonManageInfoPageReqVO pageReqVO) {
|
|
|
|
|
|
+ public PageResult<AidingStudentPersonManageInfoRespVO> AidingStudentsPersonManagePage(AidingStudentPersonManageInfoPageReqVO pageReqVO) {
|
|
/**
|
|
/**
|
|
* 表格信息
|
|
* 表格信息
|
|
*/
|
|
*/
|
|
@@ -307,8 +297,8 @@ public class AidingStudentsPersonManageServiceImpl extends ServiceImpl<AidingStu
|
|
.like(StringUtils.isNotBlank(pageReqVO.getGrade()), AidingStudentsPersonManageDO::getGrade, pageReqVO.getGrade())
|
|
.like(StringUtils.isNotBlank(pageReqVO.getGrade()), AidingStudentsPersonManageDO::getGrade, pageReqVO.getGrade())
|
|
.like(StringUtils.isNotBlank(pageReqVO.getClassName()), AidingStudentsPersonManageDO::getClassName, pageReqVO.getClassName())
|
|
.like(StringUtils.isNotBlank(pageReqVO.getClassName()), AidingStudentsPersonManageDO::getClassName, pageReqVO.getClassName())
|
|
.like(StringUtils.isNotBlank(pageReqVO.getNickname()), AidingStudentsPersonManageDO::getNickname, pageReqVO.getNickname())
|
|
.like(StringUtils.isNotBlank(pageReqVO.getNickname()), AidingStudentsPersonManageDO::getNickname, pageReqVO.getNickname())
|
|
- .like(StringUtils.isNotBlank(pageReqVO.getStudentSno()), AidingStudentsPersonManageDO::getStudentSno, pageReqVO.getStudentSno())
|
|
|
|
- .orderByDesc(AidingStudentsPersonManageDO::getSort)
|
|
|
|
|
|
+ .like(StringUtils.isNotBlank(pageReqVO.getStudentId()), AidingStudentsPersonManageDO::getStudentId, pageReqVO.getStudentId())
|
|
|
|
+ .orderByAsc(AidingStudentsPersonManageDO::getSort)
|
|
);
|
|
);
|
|
return new PageResult<>(BeanUtils.toBean(allList, AidingStudentPersonManageInfoRespVO.class), (long) allList.size());
|
|
return new PageResult<>(BeanUtils.toBean(allList, AidingStudentPersonManageInfoRespVO.class), (long) allList.size());
|
|
}
|
|
}
|
|
@@ -319,7 +309,7 @@ public class AidingStudentsPersonManageServiceImpl extends ServiceImpl<AidingStu
|
|
* @return
|
|
* @return
|
|
*/
|
|
*/
|
|
@Override
|
|
@Override
|
|
- public AidingStudentPersonManageInfoRespVO schoolgetAidingStudentsPersonManageData(Integer manageId) {
|
|
|
|
|
|
+ public AidingStudentPersonManageInfoRespVO schoolgetAidingStudentsPersonManageData(Long manageId) {
|
|
AidingStudentPersonManageInfoRespVO resultvo = new AidingStudentPersonManageInfoRespVO();
|
|
AidingStudentPersonManageInfoRespVO resultvo = new AidingStudentPersonManageInfoRespVO();
|
|
// 1.获得这个项目的所有信息(不分学院)
|
|
// 1.获得这个项目的所有信息(不分学院)
|
|
List<AidingStudentsPersonManageDO> manageList = aidingStudentsPersonManageMapper
|
|
List<AidingStudentsPersonManageDO> manageList = aidingStudentsPersonManageMapper
|
|
@@ -361,7 +351,7 @@ public class AidingStudentsPersonManageServiceImpl extends ServiceImpl<AidingStu
|
|
* @return
|
|
* @return
|
|
*/
|
|
*/
|
|
@Override
|
|
@Override
|
|
- public AidingStudentPersonManageInfoRespVO schoolauditAidingStudentsPersonManageData(Integer id) {
|
|
|
|
|
|
+ public AidingStudentPersonManageInfoRespVO schoolauditAidingStudentsPersonManageData(Long id) {
|
|
AidingStudentsPersonManageDO aDo = aidingStudentsPersonManageMapper.selectById(id);
|
|
AidingStudentsPersonManageDO aDo = aidingStudentsPersonManageMapper.selectById(id);
|
|
AidingStudentPersonManageEvaluationResultDO aidingStudentPersonManageEvaluationResultDO = aidingStudentPersonManageEvaluationResultMapper
|
|
AidingStudentPersonManageEvaluationResultDO aidingStudentPersonManageEvaluationResultDO = aidingStudentPersonManageEvaluationResultMapper
|
|
.selectOne(null,new LambdaQueryWrapper<AidingStudentsPersonManageDO>()
|
|
.selectOne(null,new LambdaQueryWrapper<AidingStudentsPersonManageDO>()
|