优干判断
This commit is contained in:
@@ -941,6 +941,10 @@ public class CphGoodApplyServiceImpl extends ServiceImpl<CphGoodApplyMapper, Cph
|
||||
return AjaxResult.success();
|
||||
}
|
||||
|
||||
|
||||
@Autowired
|
||||
private ViewStuInfoMapper viewStuInfoMapper;
|
||||
|
||||
@Override
|
||||
public AjaxResult verifyApplyYXGB() {
|
||||
QueryWrapper<SrsStuYear> yearQuery = new QueryWrapper<>();
|
||||
@@ -958,7 +962,9 @@ public class CphGoodApplyServiceImpl extends ServiceImpl<CphGoodApplyMapper, Cph
|
||||
.eq(CphOwnGoodType::getStuYearId,year.getId())
|
||||
.like(CphOwnGoodType::getTypeCode, "YXXSGB")
|
||||
.one();
|
||||
SrsStudent srsStudent = srsStudentMapper.selectSrsStudentByStuNo(stuNo);
|
||||
QueryWrapper<ViewStuInfo> queryWrapper = new QueryWrapper<>();
|
||||
queryWrapper.eq("stu_no",stuNo);
|
||||
ViewStuInfo srsStudent = viewStuInfoMapper.selectOne(queryWrapper);
|
||||
if (cphOwnGoodType == null) return AjaxResult.error("该项目不存在,请联系管理员");
|
||||
|
||||
CphSearch cphSearch = new CphSearch();
|
||||
|
||||
Reference in New Issue
Block a user