|
@@ -46,6 +46,34 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<result property="nickName" column="nick_name"/>
|
|
<result property="nickName" column="nick_name"/>
|
|
|
</resultMap>
|
|
</resultMap>
|
|
|
|
|
|
|
|
|
|
+ <select id="findUserList" resultMap="ProfileTpSysUser">
|
|
|
|
|
+ SELECT
|
|
|
|
|
+ u.nick_name,
|
|
|
|
|
+ u.user_id
|
|
|
|
|
+ FROM
|
|
|
|
|
+ sys_user u
|
|
|
|
|
+ WHERE
|
|
|
|
|
+ FIND_IN_SET( u.user_id, #{user_ids})
|
|
|
|
|
+ </select>
|
|
|
|
|
+
|
|
|
|
|
+ <select id="findBusinessList" resultMap="ProfileTpBusiness">
|
|
|
|
|
+ SELECT
|
|
|
|
|
+ b.education_type_id,
|
|
|
|
|
+ b.id,
|
|
|
|
|
+ b.business_id,
|
|
|
|
|
+ b.project_id,
|
|
|
|
|
+ cet.education_name,
|
|
|
|
|
+ cpt.project_name,
|
|
|
|
|
+ cb.business_name
|
|
|
|
|
+ FROM
|
|
|
|
|
+ profile_tp_business b
|
|
|
|
|
+ LEFT JOIN course_education_type cet ON b.education_type_id = cet.id
|
|
|
|
|
+ LEFT JOIN course_project_type cpt ON b.project_id = cpt.id
|
|
|
|
|
+ LEFT JOIN course_business cb ON b.business_id = cb.id
|
|
|
|
|
+ WHERE
|
|
|
|
|
+ b.profile_tp_id=#{profile_tp_id}
|
|
|
|
|
+ </select>
|
|
|
|
|
+
|
|
|
<select id="selectListByBo" parameterType="com.zhongzheng.modules.base.bo.ProfileTpQueryBo" resultMap="ProfileTpVoResult">
|
|
<select id="selectListByBo" parameterType="com.zhongzheng.modules.base.bo.ProfileTpQueryBo" resultMap="ProfileTpVoResult">
|
|
|
SELECT
|
|
SELECT
|
|
|
*
|
|
*
|