diff --git a/src/main/java/club/joylink/rtss/services/student/DepartUserStaticServiceImpl.java b/src/main/java/club/joylink/rtss/services/student/DepartUserStaticServiceImpl.java index 6538432ac..9e863fcd8 100644 --- a/src/main/java/club/joylink/rtss/services/student/DepartUserStaticServiceImpl.java +++ b/src/main/java/club/joylink/rtss/services/student/DepartUserStaticServiceImpl.java @@ -232,7 +232,7 @@ public class DepartUserStaticServiceImpl implements IDepartUserStatisticService public List studentInfoStatistics(StudentInfoExportParam infoExportParam) { //根据班级id查询对应学生信息 DepartmentUserExample departmentUserExample = new DepartmentUserExample(); - departmentUserExample.createCriteria().andDepartmentIdEqualTo(infoExportParam.getClassId()); + departmentUserExample.createCriteria().andDepartmentIdEqualTo(infoExportParam.getClassId()).andManagerEqualTo(false); List departmentUsers = this.departmentUserDAO.selectByExample(departmentUserExample); //课程关联实训数 Map prd2TrainNums = infoExportParam.getPrdParams().stream().collect(Collectors.toMap(prdParam -> prdParam.getPrdType(), prdParam -> {