|
@@ -41,6 +41,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
<result property="courseName" column="course_name"/>
|
|
<result property="courseName" column="course_name"/>
|
|
<result property="assignAnswerId" column="assign_answer_id"/>
|
|
<result property="assignAnswerId" column="assign_answer_id"/>
|
|
<result property="assignAnswerText" column="assign_answer_text"/>
|
|
<result property="assignAnswerText" column="assign_answer_text"/>
|
|
|
|
+ <result property="subjectNames" column="subject_names"/>
|
|
</resultMap>
|
|
</resultMap>
|
|
|
|
|
|
<select id="selectAnswer" parameterType="com.zhongzheng.modules.user.bo.UserCourseAnswerQueryBo" resultMap="UserCourseAnswerVo">
|
|
<select id="selectAnswer" parameterType="com.zhongzheng.modules.user.bo.UserCourseAnswerQueryBo" resultMap="UserCourseAnswerVo">
|
|
@@ -58,7 +59,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
c.course_name,
|
|
c.course_name,
|
|
cet.education_name,
|
|
cet.education_name,
|
|
cpt.project_name,
|
|
cpt.project_name,
|
|
- cb.business_name
|
|
|
|
|
|
+ cb.business_name,
|
|
|
|
+ (SELECT GROUP_CONCAT(subject_name) from course_subject where FIND_IN_SET(id,g.subject_ids)) subject_names
|
|
</if>
|
|
</if>
|
|
FROM
|
|
FROM
|
|
user_course_answer uca
|
|
user_course_answer uca
|