Browse Source

发布考试

tags/正式版本
雍文秀 2 years ago
parent
commit
02e85cc81b

+ 1
- 1
sexam/src/main/java/com/xhkjedu/sexam/controller/exam/EBaseController.java View File

191
         List<TMsg> msgList = new ArrayList<>();
191
         List<TMsg> msgList = new ArrayList<>();
192
         String noticetitle = examname + "-考试公告";
192
         String noticetitle = examname + "-考试公告";
193
         List<Map> classes = eBaseService.listClass(examid);
193
         List<Map> classes = eBaseService.listClass(examid);
194
-        String classids = classList.stream().map(c -> c.getClassid().toString()).collect(Collectors.joining(","));
194
+        String classids = classes.stream().map(c -> c.get("classid").toString()).collect(Collectors.joining(","));
195
         List<UserVo> teachers = eBaseService.listTeacherByClassIds(classids);//获取考试班级任教老师
195
         List<UserVo> teachers = eBaseService.listTeacherByClassIds(classids);//获取考试班级任教老师
196
         if (notice == 1) {
196
         if (notice == 1) {
197
             for (Map s : classes) {
197
             for (Map s : classes) {

Loading…
Cancel
Save