Merge branch 'master-20250227-lyc' into test

This commit is contained in:
joshen
2025-03-19 13:20:33 +08:00
2 changed files with 5 additions and 0 deletions

View File

@@ -53,4 +53,8 @@ public class CourseTeacher extends IdBaseEntity {
@Transient
private String supplier;
/**讲师类型 1 内部讲师 2外部讲师*/
@Transient
private Integer teacherType;
}

View File

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