在线课-外部讲师报错 添加供应商

This commit is contained in:
670788339
2025-03-19 13:08:54 +08:00
parent 76f0d1933a
commit ee95435d01
2 changed files with 5 additions and 0 deletions

View File

@@ -49,4 +49,8 @@ public class CourseTeacher extends IdBaseEntity {
@Transient
private String code;
/**供应商*/
@Transient
private String supplier;
}

View File

@@ -204,6 +204,7 @@ public class StudyCourseApi extends ApiBaseController{
Teacher t = teacherService.get(ct.getTeacherId());
if(t!=null) {
ct.setRemark(t.getDescription());
ct.setSupplier(t.getSupplier());
}
if(redisTemplate.opsForValue().get(ct.getTeacherId())==null){
List<String>list=new ArrayList<>();