Browse Source

Merge remote-tracking branch 'origin/master'

shuzhan 2 years ago
parent
commit
fb8e8c6d28

+ 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());