先进班集体提交判断

This commit is contained in:
zhy
2025-10-14 20:00:21 +08:00
parent 188d5f844e
commit 4d1480a875

View File

@@ -414,10 +414,11 @@ public class CphNewGoodClassApplyServiceImpl extends ServiceImpl<CphNewGoodClass
QueryWrapper<CphNewGoodClassApply> query = new QueryWrapper<>();
query.eq("class_id",classApply.classId)
.eq("stu_year_id",param.stuYearId)
.in("apply_status",notExistStatus);
List<CphNewGoodClassApply> findList = cphNewGoodClassApplyMapper.selectList(query);
if(findList.size() != 0){
throw new Exception("您的班级已提交过一次申请");
throw new Exception("您的班级当前学年已提交过一次申请");
}
CphNewGoodClassApply needInsert = new CphNewGoodClassApply();