|
@@ -244,7 +244,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
</if>
|
|
|
AND course_id = #{courseId} ORDER BY record_id DESC LIMIT 9999 ) usr
|
|
|
GROUP BY
|
|
|
- usr.section_id) usr1 on m.menu_id = usr1.section_id
|
|
|
+ usr.section_id) usr1 on s.section_id = usr1.section_id
|
|
|
WHERE
|
|
|
m.type =2
|
|
|
<if test="courseId != null and courseId !=''">
|
|
@@ -282,7 +282,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
</if>
|
|
|
AND course_id = #{courseId} ORDER BY record_id DESC LIMIT 9999 ) usr
|
|
|
GROUP BY
|
|
|
- usr.section_id) usr1 on m.menu_id = usr1.section_id
|
|
|
+ usr.section_id) usr1 on s.section_id = usr1.section_id
|
|
|
WHERE
|
|
|
m.type =1
|
|
|
<if test="courseId != null and courseId !=''">
|