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
759b8fde
Commit
759b8fde
authored
Jun 20, 2022
by
jianan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
报聘提醒辅导人审批问题修复2
parent
0270963e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
5 deletions
+8
-5
yd-api/src/main/java/com/yd/api/agms/service/impl/AgmsHiringServiceImpl.java
+4
-2
yd-api/src/main/java/com/yd/api/practitioner/service/impl/PractitionerHiringServiceImpl.java
+1
-1
yd-api/src/main/java/com/yd/dal/service/agms/impl/AgmsHiringDALServiceImpl.java
+3
-2
No files found.
yd-api/src/main/java/com/yd/api/agms/service/impl/AgmsHiringServiceImpl.java
View file @
759b8fde
...
...
@@ -407,8 +407,10 @@ public class AgmsHiringServiceImpl implements AgmsHiringService {
//不是他
boolean
flag
=
this
.
isHasNextStep
(
loginPractitionerId
,
mobileNo
,
basicInfoId
,
nextStep
);
if
(!
flag
)
{
// 发送短信通知及公众号推送通知下一位审批人进行审批
agmsHiringDalService
.
noticeNextStep
(
nextStep
,
basicInfoId
);
if
(
"1"
.
equals
(
requestVO
.
getApprovingStatus
()))
{
// 审批状态为"通过"
// 发送短信通知及公众号推送通知下一位审批人进行审批
agmsHiringDalService
.
noticeNextStep
(
nextStep
,
basicInfoId
);
}
responseVO
.
setCommonResult
(
new
CommonResult
(
true
,
ZHBErrorConfig
.
getErrorInfo
(
"800000"
)));
return
;
...
...
yd-api/src/main/java/com/yd/api/practitioner/service/impl/PractitionerHiringServiceImpl.java
View file @
759b8fde
...
...
@@ -916,7 +916,7 @@ public class PractitionerHiringServiceImpl implements PractitionerHiringService
this
.
distributeToSubsystemOwner
(
hiringMemberShip
);
// 发短信及微信推送下一步审批人
String
nextStepSeq
=
"2"
.
equals
(
stepSeq
)
?
"3"
:
"1"
;
Integer
nextStepSeq
=
"2"
.
equals
(
stepSeq
)
?
3
:
1
;
// 查询下一步审批
List
<
MdPractitionerHiringApproveSteps
>
approveStepsList
=
mdPractitionerHiringApproveStepsDalService
.
findAll
();
MdPractitionerHiringApproveSteps
nextStep
=
null
;
...
...
yd-api/src/main/java/com/yd/dal/service/agms/impl/AgmsHiringDALServiceImpl.java
View file @
759b8fde
...
...
@@ -260,7 +260,7 @@ public class AgmsHiringDALServiceImpl implements AgmsHiringDALService {
// 微信通知
wechatService
.
sendTemplateMessage
(
sendTemplateRequest
);
}
else
{
logger
.
error
(
"【》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》发送微信模板消息审批人"
);
logger
.
error
(
"【》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》发送微信模板消息审批人
openId为空
"
);
logger
.
error
(
"【》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》"
+
practitionerInfo
.
getName
());
}
}
...
...
@@ -275,7 +275,8 @@ public class AgmsHiringDALServiceImpl implements AgmsHiringDALService {
name
=
practitionerInfo
.
getName
();
mobileNo
=
practitionerInfo
.
getMobileNo
();
if
(
StringUtils
.
isNotBlank
(
mobileNo
))
{
mobileNo
=
"18353621360"
;
logger
.
error
(
"【》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》电子报聘发送短信"
);
logger
.
error
(
"【》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》"
+
name
+
": "
+
mobileNo
);
// 发短信
// ${name},您好!${name2}(S3纵队S2体系S1分部的XX)经纪人已提交报聘审批,请至“赢家平台>我的团队-报聘审批”进行查看审批,谢谢!
String
templateCode
=
systemConfigService
.
getSingleConfigValue
(
"ALI_SMS_HiringApproveNotice"
);
...
...
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