Commit 8f09dde8 by jianan

战队成员详情加学历

parent d38eb419
...@@ -16,6 +16,7 @@ public class TeamMemberDetail { ...@@ -16,6 +16,7 @@ public class TeamMemberDetail {
private String gender; private String gender;
private String age; private String age;
private String birthDate; private String birthDate;
private String educationLevel;
private String province; private String province;
private String city; private String city;
private String idType; private String idType;
......
...@@ -1000,6 +1000,7 @@ ...@@ -1000,6 +1000,7 @@
<result column="gender" property="gender"/> <result column="gender" property="gender"/>
<result column="age" property="age"/> <result column="age" property="age"/>
<result column="practitioner_birthdate" property="birthDate"/> <result column="practitioner_birthdate" property="birthDate"/>
<result column="education_level" property="educationLevel"/>
<result column="province" property="province"/> <result column="province" property="province"/>
<result column="city" property="city"/> <result column="city" property="city"/>
<result column="id_type" property="idType"/> <result column="id_type" property="idType"/>
...@@ -1021,6 +1022,7 @@ ...@@ -1021,6 +1022,7 @@
case when p.gender=1 then '男' else '女' end gender, case when p.gender=1 then '男' else '女' end gender,
TIMESTAMPDIFF(YEAR, p.practitioner_birthdate, CURDATE()) age, TIMESTAMPDIFF(YEAR, p.practitioner_birthdate, CURDATE()) age,
p.practitioner_birthdate, p.practitioner_birthdate,
c.code_name educationLevel,
p.province_name province, p.province_name province,
p.city_name city, p.city_name city,
p.id_type, p.id_type,
...@@ -1030,7 +1032,7 @@ ...@@ -1030,7 +1032,7 @@
from from
(select (select
id,name,mobile_no,gender,practitioner_birthdate,province_name,city_name,id_type,id_no,effective_start_date, id,name,mobile_no,gender,practitioner_birthdate,province_name,city_name,id_type,id_no,effective_start_date,
subordinate_system_id,insurer_branch_id,mentor_id,introducer_id,practitioner_reg_no subordinate_system_id,insurer_branch_id,mentor_id,introducer_id,practitioner_reg_no,education_level
from ag_acl_practitioner from ag_acl_practitioner
where id in where id in
<foreach collection="list" index="index" item="item" open="(" separator="," close=")"> <foreach collection="list" index="index" item="item" open="(" separator="," close=")">
...@@ -1045,6 +1047,7 @@ ...@@ -1045,6 +1047,7 @@
left join ag_acl_insurer_branch b on p.insurer_branch_id = b.id left join ag_acl_insurer_branch b on p.insurer_branch_id = b.id
left join ag_acl_practitioner p1 on p.mentor_id = p1.id left join ag_acl_practitioner p1 on p.mentor_id = p1.id
left join ag_acl_practitioner p2 on p.introducer_id = p2.id left join ag_acl_practitioner p2 on p.introducer_id = p2.id
left join (select * from ag_md_code where code_type = 'EducationLevel') c on p.education_level = c.code_code
</select> </select>
</mapper> </mapper>
\ No newline at end of file
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