|
@@ -30,6 +30,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<result property="subjectId" column="subject_id"/>
|
|
|
<result property="projectId" column="project_id"/>
|
|
|
<result property="subjectName" column="subject_name"/>
|
|
|
+ <result property="chapterExamNum" column="chapter_exam_num"/>
|
|
|
<collection property="goodsList" column="module_exam_id" select="findGoodsList"/>
|
|
|
</resultMap>
|
|
|
|
|
@@ -59,7 +60,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
cet.education_name,
|
|
|
cpt.project_name,
|
|
|
cb.business_name,
|
|
|
- cs.subject_name
|
|
|
+ cs.subject_name,
|
|
|
+ (SELECT COUNT(qmc.chapter_exam_id) FROM question_module_chapter qmc where qmc.module_exam_id = qm.module_exam_id ) as chapter_exam_num
|
|
|
FROM
|
|
|
question_module qm
|
|
|
LEFT JOIN question_business qb ON qm.module_exam_id = qb.major_id
|