Commit 33c2b7bf authored by wangxl's avatar wangxl

1

parent 2402f974
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
SELECT a.*, c.cert_id, c.person_name, c.sex, c.mobile, c.duty, c.title, c.profession, i.name as title_name, j.name as professionName SELECT a.*, c.cert_id, c.person_name, c.sex, c.mobile, c.duty, c.title, c.profession, i.name as title_name, j.name as professionName
FROM com_talent_assign a FROM com_talent_assign a
left join com_talent_apply b on a.talent_id=b.id left join com_talent_apply b on a.talent_id=b.id
left join com_person c on a.person_id = b.id left join com_person c on b.app_person_id = b.id
left join system_parameter i on c.title = i.id and i.type_id = 7 left join system_parameter i on c.title = i.id and i.type_id = 7
left join system_parameter j on c.profession = j.id and j.type_id = 69 left join system_parameter j on c.profession = j.id and j.type_id = 69
<where> <where>
...@@ -39,7 +39,7 @@ ...@@ -39,7 +39,7 @@
</select> </select>
<select id="getAssignExpertListByTalentId" resultType="com.yiboshi.science.param.dto.ComTalentAssignDTO"> <select id="getAssignExpertListByTalentId" resultType="com.yiboshi.science.param.dto.ComTalentAssignDTO">
SELECT a.*, c.person_name,c.cert_id,c.sex,c.birthday,c.mobile,c.email,c.education,c.title,g.unit_name SELECT a.*, c.person_name,c.cert_id,c.sex,c.birthday,c.mobile,c.email,c.education,c.title,g.unit_name
,d.name education_name,e.name title_name ,d.name education_name,e.name title_name
FROM com_talent_assign a FROM com_talent_assign a
LEFT JOIN com_expert b ON a.expert_id = b.id LEFT JOIN com_expert b ON a.expert_id = b.id
LEFT JOIN com_person c ON b.person_id = c.id LEFT JOIN com_person c ON b.person_id = c.id
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment