getData添加全校(不含艺体美外语)数据查询

This commit is contained in:
YuNan 2024-12-04 19:48:44 +08:00
parent 97e16394c5
commit 2ad30ffc4d
1 changed files with 12 additions and 1 deletions

View File

@ -262,6 +262,17 @@ public class CenterServiceImpl extends ServiceImpl<Cet_4Mapper, Cet_4> implement
Cet4_majorQW.clear();
Cet4_majorQW.select(Cet4_major::getCode).eq(Cet4_major::getEntrydate, entryDate).eq(Cet4_major::getState, "在校");
allStudent = cet4_majorMapper.selectCount(Cet4_majorQW);
}else if(college.equals("全校(不含艺体美外语)")) {
totalName = "全校";
Cet_4QW.eq(Cet_4::getEntrydate, entryDate)
.eq(Cet_4::getBatch, batchList.get(i))
.eq(Cet_4::getState, "在校");
Cet_4QW.notIn(Cet_4::getCollege, Arrays.asList("体育科学学院", "美术学院", "音乐学院"));
Cet_4QW.notIn(Cet_4::getMajorname, Arrays.asList("英语","翻译", "商务英语", "表演","广播电视编导", "录音艺术", "播音与主持艺术","动画", "摄影", "数字媒体艺术"));
Cet4_majorQW.clear();
Cet4_majorQW.select(Cet4_major::getCode).eq(Cet4_major::getEntrydate, entryDate).eq(Cet4_major::getState, "在校");
allStudent = cet4_majorMapper.selectCount(Cet4_majorQW);
}else if (college.equals("专升本")) {
totalName = "全校";
Cet_4QW.eq(Cet_4::getLevel, college).eq(Cet_4::getEntrydate, entryDate).eq(Cet_4::getBatch, batchList.get(i));