Commit c159fd93e9f86bce24645848efae5251826bcf72
1 parent
2ad7044470
Exists in
master
and in
6 other branches
孕妇学校
Showing 2 changed files with 9 additions and 0 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/CourseFacade.java
View file @
c159fd9
... | ... | @@ -153,6 +153,7 @@ |
153 | 153 | courseType = typeModels.get(0).getCourseTypeName(); |
154 | 154 | } |
155 | 155 | result.setCourseType(courseType); |
156 | + result.setCourseTypeId(model.getCourseTypeId()); | |
156 | 157 | |
157 | 158 | result.setCourseName(model.getCourseName()); |
158 | 159 | result.setCourseSpeaker(model.getCourseSpeaker()); |
platform-operate-api/src/main/java/com/lyms/platform/operate/web/result/CourseResult.java
View file @
c159fd9
... | ... | @@ -41,12 +41,20 @@ |
41 | 41 | |
42 | 42 | //课程类别 |
43 | 43 | private String courseType; |
44 | + private String courseTypeId; | |
44 | 45 | |
45 | 46 | //创建人id |
46 | 47 | private String createUser; |
47 | 48 | |
48 | 49 | private String created; |
49 | 50 | |
51 | + public String getCourseTypeId() { | |
52 | + return courseTypeId; | |
53 | + } | |
54 | + | |
55 | + public void setCourseTypeId(String courseTypeId) { | |
56 | + this.courseTypeId = courseTypeId; | |
57 | + } | |
50 | 58 | |
51 | 59 | public String getId() { |
52 | 60 | return id; |