|
|
|
@ -43,9 +43,11 @@
|
|
|
|
|
#end
|
|
|
|
|
-- 匹配课程名称与学校名称
|
|
|
|
|
#sql("matchLessonSchoolName")
|
|
|
|
|
select t1.lesson_id,t2.lesson_name,t2.teacher_name,t1.original_school_name,t3.stage_name,t4.subject_name,
|
|
|
|
|
t5.book_name from t_crawler_lesson_school as t1
|
|
|
|
|
inner join t_crawler_lesson as t2 on t1.lesson_id=t2.lesson_id
|
|
|
|
|
select t1.lesson_id,t2.lesson_name,t2.teacher_name,t1.original_school_name,t3.stage_name,t4.subject_name,t5.book_name from t_crawler_lesson_school as t1
|
|
|
|
|
inner join t_crawler_lesson as t2 on t1.lesson_id=t2.lesson_id
|
|
|
|
|
inner join t_crawler_stage as t3 on t2.stage_id=t3.stage_id
|
|
|
|
|
inner join t_crawler_subject as t4 on t2.subject_id=t4.subject_id
|
|
|
|
|
inner join t_crawler_book as t5 on t2.book_id =t5.book_id
|
|
|
|
|
where t1.match_type=0
|
|
|
|
|
#end
|
|
|
|
|
|
|
|
|
|