|
@@ -26,10 +26,15 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<select id="getList" parameterType="com.zhongzheng.modules.order.bo.OrderBusinessConfigQueryBo" resultMap="OrderBusinessConfigVoResult">
|
|
|
SELECT
|
|
|
obc.*,
|
|
|
- cb.alias_name
|
|
|
+ cb.alias_name,
|
|
|
+ cb.business_name,
|
|
|
+ cpt.project_name,
|
|
|
+ cet.education_name
|
|
|
FROM
|
|
|
order_business_config obc
|
|
|
LEFT JOIN course_business cb ON obc.business_id = cb.id
|
|
|
+ LEFT JOIN course_project_type cpt ON cb.project_id = cpt.id
|
|
|
+ LEFT JOIN course_education_type cet ON cet.id = cpt.education_id
|
|
|
WHERE
|
|
|
obc.`status` = 1
|
|
|
<if test="businessId != null and businessId != ''">
|