|
|
@@ -25,13 +25,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<select id="getList" parameterType="com.zhongzheng.modules.bank.bo.QuestionModuleChapterQueryBo" resultMap="QuestionModuleChapterResultVo">
|
|
|
SELECT
|
|
|
qc.*,
|
|
|
- mc.sort as chapter_sort
|
|
|
+ mc.sort AS chapter_sort
|
|
|
FROM
|
|
|
- question_module qm
|
|
|
- LEFT JOIN question_module_chapter mc ON mc.module_exam_id = qm.module_exam_id
|
|
|
+ question_module_chapter mc
|
|
|
LEFT JOIN question_chapter qc ON mc.chapter_exam_id = qc.chapter_exam_id
|
|
|
WHERE
|
|
|
- qm.module_exam_id =#{moduleExamId}
|
|
|
+ mc.module_exam_id = #{moduleExamId}
|
|
|
|
|
|
</select>
|
|
|
|