mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/per-boe/java-servers.git
synced 2025-12-12 04:16:51 +08:00
在线课-外部讲师报错 添加讲师类型
This commit is contained in:
@@ -53,4 +53,8 @@ public class CourseTeacher extends IdBaseEntity {
|
|||||||
@Transient
|
@Transient
|
||||||
private String supplier;
|
private String supplier;
|
||||||
|
|
||||||
|
/**讲师类型 1 内部讲师 2外部讲师*/
|
||||||
|
@Transient
|
||||||
|
private Integer teacherType;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -205,6 +205,7 @@ public class StudyCourseApi extends ApiBaseController{
|
|||||||
if(t!=null) {
|
if(t!=null) {
|
||||||
ct.setRemark(t.getDescription());
|
ct.setRemark(t.getDescription());
|
||||||
ct.setSupplier(t.getSupplier());
|
ct.setSupplier(t.getSupplier());
|
||||||
|
ct.setTeacherType(t.getTeacherType());
|
||||||
}
|
}
|
||||||
if(redisTemplate.opsForValue().get(ct.getTeacherId())==null){
|
if(redisTemplate.opsForValue().get(ct.getTeacherId())==null){
|
||||||
List<String>list=new ArrayList<>();
|
List<String>list=new ArrayList<>();
|
||||||
|
|||||||
Reference in New Issue
Block a user