学年标签适配励志奖学金模块修复

This commit is contained in:
2026-01-30 10:53:20 +08:00
parent 89671d9b9c
commit 1fe293610e

View File

@@ -304,7 +304,7 @@ public class KnzzGlApplyServiceImpl extends ServiceImpl<KnzzGlApplyMapper,KnzzGl
List<SrsStuYear> yearList = _yearMapper.selectYearsByTag("NLZJ"); List<SrsStuYear> yearList = _yearMapper.selectYearsByTag("NLZJ");
SrsStuYear year = yearList.get(0); SrsStuYear year = yearList.get(0);
if(!year.getModuleTags().contains("TSKN")){ if(!year.getModuleTags().contains("NLZJ")){
throw new Exception("当前学年未关联到国家励志奖学金标签!"); throw new Exception("当前学年未关联到国家励志奖学金标签!");
} }
Long yearId = year.getId(); Long yearId = year.getId();