Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yd-backend
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
AutogeneralShanghai
yd-backend
Commits
8f09dde8
Commit
8f09dde8
authored
Jan 11, 2021
by
jianan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
战队成员详情加学历
parent
d38eb419
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletions
+6
-1
yd-api/src/main/java/com/yd/api/practitioner/vo/subordinate/TeamMemberDetail.java
+1
-0
yd-api/src/main/resources/mapper/customer/AclPractitionerMapper.xml
+5
-1
No files found.
yd-api/src/main/java/com/yd/api/practitioner/vo/subordinate/TeamMemberDetail.java
View file @
8f09dde8
...
@@ -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
;
...
...
yd-api/src/main/resources/mapper/customer/AclPractitionerMapper.xml
View file @
8f09dde8
...
@@ -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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment