|
@@ -894,8 +894,8 @@
|
|
|
(SELECT u.user_id FROM `user` u where 1=1 <if test="userId != null and userId !='' ">
|
|
(SELECT u.user_id FROM `user` u where 1=1 <if test="userId != null and userId !='' ">
|
|
|
and u.user_id = #{userId}
|
|
and u.user_id = #{userId}
|
|
|
</if>) as user_id,
|
|
</if>) as user_id,
|
|
|
- 0 as common_sign,
|
|
|
|
|
(SELECT cm.module_name FROM course_module cm where cm.menu_id = cm.module_id) as type_name,
|
|
(SELECT cm.module_name FROM course_module cm where cm.menu_id = cm.module_id) as type_name,
|
|
|
|
|
+ 0 as common_sign,
|
|
|
(SELECT COUNT(ccs.section_id) FROM course_chapter_section ccs LEFT JOIN course_module_chapter cmc on
|
|
(SELECT COUNT(ccs.section_id) FROM course_chapter_section ccs LEFT JOIN course_module_chapter cmc on
|
|
|
cmc.chapter_id=ccs.chapter_id where cmc.module_id=cm.menu_id) as class_hours,
|
|
cmc.chapter_id=ccs.chapter_id where cmc.module_id=cm.menu_id) as class_hours,
|
|
|
1 as type,
|
|
1 as type,
|