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
f9436621
Commit
f9436621
authored
Jan 18, 2022
by
wenyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
签署继续率品质承诺书邮件提醒
parent
a51739bb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
39 additions
and
0 deletions
+39
-0
yd-api/src/main/java/com/yd/api/practitioner/service/impl/PractitionerServiceImpl.java
+39
-0
No files found.
yd-api/src/main/java/com/yd/api/practitioner/service/impl/PractitionerServiceImpl.java
View file @
f9436621
...
@@ -4159,6 +4159,45 @@ public class PractitionerServiceImpl implements com.yd.api.practitioner.service.
...
@@ -4159,6 +4159,45 @@ public class PractitionerServiceImpl implements com.yd.api.practitioner.service.
fileUpload
.
setRemark
(
"承诺书"
);
fileUpload
.
setRemark
(
"承诺书"
);
aclFileUploadDALService
.
saveFileUpload
(
fileUpload
);
aclFileUploadDALService
.
saveFileUpload
(
fileUpload
);
try
{
//发送邮件给客服,同步跟进
String
toAddress
=
systemConfigService
.
getSingleConfigValue
(
"ContinuationRateSupportToAddress"
);
String
ccAddress
=
systemConfigService
.
getSingleConfigValue
(
"ContinuationRateSupportCCAddresses"
);
AclPractitioner
aclPractitioner
=
aclPractitionerDALService
.
findById
(
practitionerId
);
if
(
aclPractitioner
!=
null
){
String
subject
=
"经纪人【"
+
practitionerName
+
"】已签署品质承诺书"
;
String
messageText
=
"尊敬的银盾运营同事: </br> "
;
boolean
boole
=
false
;
if
(
aclPractitioner
.
getS3Id
()
!=
null
){
AclPractitionerSubordinateSystem
subordinateInfo
=
aclPractitionerSubordinateSystemDALService
.
findById
(
aclPractitioner
.
getS3Id
());
if
(
subordinateInfo
!=
null
)
{
messageText
+=
subordinateInfo
.
getName
()
+
"纵队-"
;
boole
=
false
;
}
}
if
(
aclPractitioner
.
getS2Id
()
!=
null
){
AclPractitionerSubordinateSystem
subordinateInfo
=
aclPractitionerSubordinateSystemDALService
.
findById
(
aclPractitioner
.
getS2Id
());
if
(
subordinateInfo
!=
null
)
{
messageText
+=
subordinateInfo
.
getName
()
+
"体系-"
;
boole
=
false
;
}
}
if
(
aclPractitioner
.
getS1Id
()
!=
null
){
AclPractitionerSubordinateSystem
subordinateInfo
=
aclPractitionerSubordinateSystemDALService
.
findById
(
aclPractitioner
.
getS1Id
());
if
(
subordinateInfo
!=
null
)
{
messageText
+=
subordinateInfo
.
getName
()
+
"分部"
;
boole
=
true
;
}
}
if
(!
boole
){
messageText
=
messageText
.
substring
(
0
,
messageText
.
length
()-
1
);
}
messageText
+=
"的经纪人【"
+
practitionerName
+
"】已签署品质承诺书,请至 “AGMS后台>经纪人管理>上传文件-列表” 进行查看,并安排后续相关工作,谢谢!"
;
mailService
.
sysNotify
(
toAddress
,
ccAddress
.
split
(
","
),
subject
,
messageText
);
}
}
catch
(
Exception
e
)
{
e
.
printStackTrace
();
}
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
e
.
printStackTrace
();
e
.
printStackTrace
();
resp
.
setCommonResult
(
new
CommonResult
(
false
,
e
.
getMessage
()));
resp
.
setCommonResult
(
new
CommonResult
(
false
,
e
.
getMessage
()));
...
...
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