lrf 2 년 전
부모
커밋
b5f1912d4d
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      app/service/business/lessonStudent.js

+ 2 - 0
app/service/business/lessonStudent.js

@@ -13,6 +13,8 @@ class LessonStudentService extends CrudService {
     this.rscModel = this.ctx.model.Relation.RelationStudentCoach;
     this.lessonCoachModel = this.ctx.model.Business.LessonCoach;
     this.lessonModel = this.ctx.model.Business.Lesson;
+    this.rcsModel = this.ctx.model.Relation.RelationCoachSchool;
+    this.rssModel = this.ctx.model.Relation.RelationStudentSchool;
   }
 
   async checkCanUse({ school_id, student_id, lesson_id }) {