|
|
@@ -26,6 +26,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<result property="projectName" column="project_name"/>
|
|
|
<result property="educationId" column="education_id"/>
|
|
|
<result property="templateStatus" column="template_status"/>
|
|
|
+ <result property="templateName" column="template_name"/>
|
|
|
</resultMap>
|
|
|
|
|
|
<select id="queryList" parameterType="com.zhongzheng.modules.course.bo.CourseBusinessQueryBo" resultMap="CourseBusinessVoResult">
|
|
|
@@ -33,11 +34,13 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
b.*,
|
|
|
e.education_name,
|
|
|
e.id as education_id,
|
|
|
- p.project_name
|
|
|
+ p.project_name,
|
|
|
+ t.name as template_name
|
|
|
FROM
|
|
|
course_business b
|
|
|
LEFT JOIN course_project_type p on b.project_id =p.id
|
|
|
LEFT JOIN course_education_type e ON p.education_id = e.id
|
|
|
+ LEFT JOIN order_input_template t ON b.template_status = t.id
|
|
|
where 1=1
|
|
|
and p.status != -1
|
|
|
and e.status != -1
|