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
466b4f20
Commit
466b4f20
authored
Jan 22, 2021
by
jianan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
审批通过后在practitioner表中保存hiringBasicInfoId
parent
b3b0f35b
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
2 deletions
+7
-2
yd-api/src/main/java/com/yd/api/agms/service/impl/AgmsHiringServiceImpl.java
+1
-0
yd-api/src/main/java/com/yd/dal/entity/customer/AclPractitioner.java
+3
-0
yd-api/src/main/resources/mapper/customer/AclPractitionerMapper.xml
+3
-2
No files found.
yd-api/src/main/java/com/yd/api/agms/service/impl/AgmsHiringServiceImpl.java
View file @
466b4f20
...
@@ -391,6 +391,7 @@ public class AgmsHiringServiceImpl implements AgmsHiringService {
...
@@ -391,6 +391,7 @@ public class AgmsHiringServiceImpl implements AgmsHiringService {
practitioner
.
setMentorId
(
membership
.
getMentorPractitionerId
());
practitioner
.
setMentorId
(
membership
.
getMentorPractitionerId
());
practitioner
.
setIntroducerId
(
membership
.
getIntroducerPractitionerId
());
practitioner
.
setIntroducerId
(
membership
.
getIntroducerPractitionerId
());
practitioner
.
setGender
(
basicInfo
.
getGender
());
practitioner
.
setGender
(
basicInfo
.
getGender
());
practitioner
.
setHiringBasicInfoId
(
hiringBasicInfoId
);
aclPractitionerDalService
.
save
(
practitioner
);
aclPractitionerDalService
.
save
(
practitioner
);
AclPractitionerSetting
setting
=
new
AclPractitionerSetting
();
AclPractitionerSetting
setting
=
new
AclPractitionerSetting
();
...
...
yd-api/src/main/java/com/yd/dal/entity/customer/AclPractitioner.java
View file @
466b4f20
...
@@ -202,5 +202,7 @@ public class AclPractitioner implements Serializable {
...
@@ -202,5 +202,7 @@ public class AclPractitioner implements Serializable {
*/
*/
private
Integer
gender
;
private
Integer
gender
;
private
Long
hiringBasicInfoId
;
private
static
final
long
serialVersionUID
=
1L
;
private
static
final
long
serialVersionUID
=
1L
;
}
}
\ No newline at end of file
yd-api/src/main/resources/mapper/customer/AclPractitionerMapper.xml
View file @
466b4f20
...
@@ -73,7 +73,7 @@
...
@@ -73,7 +73,7 @@
city_name, cert_list, bio_intro,
city_name, cert_list, bio_intro,
wechat_id, qq_id, is_profile_show,
wechat_id, qq_id, is_profile_show,
is_name_show, is_mobile_show, education_level,
is_name_show, is_mobile_show, education_level,
mentor_id, introducer_id, gender
mentor_id, introducer_id, gender
, hiring_basic_info_id
)
)
values (#{insurerId,jdbcType=BIGINT}, #{insurerBranchId,jdbcType=BIGINT}, #{deptId,jdbcType=BIGINT},
values (#{insurerId,jdbcType=BIGINT}, #{insurerBranchId,jdbcType=BIGINT}, #{deptId,jdbcType=BIGINT},
#{subordinateSystemId,jdbcType=BIGINT}, #{practitionerCode,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR},
#{subordinateSystemId,jdbcType=BIGINT}, #{practitionerCode,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR},
...
@@ -87,7 +87,8 @@
...
@@ -87,7 +87,8 @@
#{cityName,jdbcType=VARCHAR}, #{certList,jdbcType=VARCHAR}, #{bioIntro,jdbcType=VARCHAR},
#{cityName,jdbcType=VARCHAR}, #{certList,jdbcType=VARCHAR}, #{bioIntro,jdbcType=VARCHAR},
#{wechatId,jdbcType=VARCHAR}, #{qqId,jdbcType=VARCHAR}, #{isProfileShow,jdbcType=INTEGER},
#{wechatId,jdbcType=VARCHAR}, #{qqId,jdbcType=VARCHAR}, #{isProfileShow,jdbcType=INTEGER},
#{isNameShow,jdbcType=INTEGER}, #{isMobileShow,jdbcType=INTEGER}, #{educationLevel,jdbcType=VARCHAR},
#{isNameShow,jdbcType=INTEGER}, #{isMobileShow,jdbcType=INTEGER}, #{educationLevel,jdbcType=VARCHAR},
#{mentorId,jdbcType=BIGINT}, #{introducerId,jdbcType=BIGINT}, #{gender,jdbcType=INTEGER}
#{mentorId,jdbcType=BIGINT}, #{introducerId,jdbcType=BIGINT}, #{gender,jdbcType=INTEGER},
#{hiringBasicInfoId,jdbcType=BIGINT}
)
)
</insert>
</insert>
<insert
id=
"insertSelective"
keyColumn=
"id"
keyProperty=
"id"
parameterType=
"com.yd.dal.entity.customer.AclPractitioner"
useGeneratedKeys=
"true"
>
<insert
id=
"insertSelective"
keyColumn=
"id"
keyProperty=
"id"
parameterType=
"com.yd.dal.entity.customer.AclPractitioner"
useGeneratedKeys=
"true"
>
...
...
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