Ver código fonte

发布考试

tags/正式版本
雍文秀 2 anos atrás
pai
commit
02e85cc81b

+ 1
- 1
sexam/src/main/java/com/xhkjedu/sexam/controller/exam/EBaseController.java Ver arquivo

@@ -191,7 +191,7 @@ public class EBaseController {
191 191
         List<TMsg> msgList = new ArrayList<>();
192 192
         String noticetitle = examname + "-考试公告";
193 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 195
         List<UserVo> teachers = eBaseService.listTeacherByClassIds(classids);//获取考试班级任教老师
196 196
         if (notice == 1) {
197 197
             for (Map s : classes) {

Carregando…
Cancelar
Salvar