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
99daadff
Commit
99daadff
authored
Mar 02, 2021
by
jianan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
电子報聘审批通过,写入经纪人表时creater,updater应写userid
parent
f8f0a9fd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
yd-api/src/main/java/com/yd/api/agms/service/impl/AgmsHiringServiceImpl.java
+5
-4
No files found.
yd-api/src/main/java/com/yd/api/agms/service/impl/AgmsHiringServiceImpl.java
View file @
99daadff
...
...
@@ -184,21 +184,22 @@ public class AgmsHiringServiceImpl implements AgmsHiringService {
Long
practitionerId
=
agmsHiringDalService
.
findPractitionerIdByLoginId
(
loginId
);
AclUser
user
=
aclUserDalService
.
selectByPrimaryKey
(
loginId
);
String
mobileNo
=
user
.
getMobileNo
();
this
.
doApprove
(
practitionerId
,
mobileNo
,
requestVO
,
responseVO
);
this
.
doApprove
(
practitionerId
,
mobileNo
,
user
.
getId
(),
requestVO
,
responseVO
);
return
responseVO
;
}
else
{
Long
practitionerId
=
requestVO
.
getPractitionerId
();
AclPractitioner
practitioner
=
aclPractitionerMapper
.
selectByPrimaryKey
(
practitionerId
);
String
mobileNo
=
practitioner
.
getMobileNo
();
this
.
doApprove
(
practitionerId
,
mobileNo
,
requestVO
,
responseVO
);
this
.
doApprove
(
practitionerId
,
mobileNo
,
Long
.
valueOf
(
"-1"
),
requestVO
,
responseVO
);
return
responseVO
;
}
}
private
void
doApprove
(
Long
practitionerId
,
String
mobileNo
,
PractitionerHiringApproveRequestVO
requestVO
,
PractitionerHiringApproveResponseVO
responseVO
)
{
private
void
doApprove
(
Long
practitionerId
,
String
mobileNo
,
Long
operater
,
PractitionerHiringApproveRequestVO
requestVO
,
PractitionerHiringApproveResponseVO
responseVO
)
{
Long
hiringBasicInfoId
=
requestVO
.
getHiringBasicInfoId
();
//查询审批流程
List
<
MdPractitionerHiringApproveSteps
>
hiringApproveStepsList
=
systemConfigService
.
findHiringApproveStepsAll
();
...
...
@@ -246,7 +247,7 @@ public class AgmsHiringServiceImpl implements AgmsHiringService {
String
basicInfoStatus
=
null
;
if
(
approvingStatus
==
1
)
{
//最后一步 并同意 更新经纪人系类表
updatePractitionerInfo
(
hiringBasicInfoId
,
practitionerId
);
updatePractitionerInfo
(
hiringBasicInfoId
,
operater
);
//最后一步通过发邮件通知人事填写相关经纪人信息
this
.
sendMailToHR
(
basicInfo2
);
basicInfoStatus
=
"0"
;
...
...
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