|
|
|
@ -92,7 +92,13 @@ queryByConditionMergeOpenCourseHandsOn
|
|
|
|
|
c.hands_on_status
|
|
|
|
|
FROM
|
|
|
|
|
hands_on c
|
|
|
|
|
LEFT JOIN course_info a ON c.course_child_node = a.course_info_id UNION ALL
|
|
|
|
|
LEFT JOIN course_info a ON c.course_child_node = a.course_info_id
|
|
|
|
|
where 1 = 1
|
|
|
|
|
@if(!isEmpty(courseInfoFullIdStr)){
|
|
|
|
|
and a.course_info_full_id regexp #courseInfoFullIdStr#
|
|
|
|
|
@}
|
|
|
|
|
|
|
|
|
|
UNION ALL
|
|
|
|
|
SELECT
|
|
|
|
|
c.teacher_open_course_id,
|
|
|
|
|
c.`hands_on_id`,
|
|
|
|
@ -160,10 +166,6 @@ queryByConditionMergeOpenCourseHandsOn
|
|
|
|
|
and za.`name` like #'%'+orgIdText+'%'#
|
|
|
|
|
@}
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(courseInfoFullIdStr)){
|
|
|
|
|
and t.course_info_full_id regexp #courseInfoFullIdStr#
|
|
|
|
|
@// 未授权任何应用的话,这里直接返回空数据
|
|
|
|
|
@}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|