浏览代码

学生详情修改问题

yanliming 2 年之前
父节点
当前提交
68e9164aef
共有 1 个文件被更改,包括 6 次插入0 次删除
  1. 6 0
      web/src/main/java/com/jpsoft/education/modules/base/controller/TclassController.java

+ 6 - 0
web/src/main/java/com/jpsoft/education/modules/base/controller/TclassController.java

@@ -350,6 +350,12 @@ public class TclassController {
                     tclass.setCourseTeachersN(employee.getEmployeeName());
                 }
 
+                CourseBase courseBase = courseBaseService.get(tclass.getCourseId());
+
+                if(courseBase!=null){
+                    tclass.setCourseName(courseBase.getCourseName());
+                }
+
                 dto.setTclass(tclass);
 
                 List<BuyLog> buyLogList = buyLogService.findByStatusAndClassId("1",tclass.getClassId());