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
8bc1b369
Commit
8bc1b369
authored
Apr 21, 2022
by
akexiu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "经纪人名片3.经纪人申请开通邮箱"
This reverts commit
ecf0612c
.
parent
6a8117f7
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
12 deletions
+8
-12
yd-api/src/main/java/com/yd/api/practitioner/service/impl/PractitionerServiceImpl.java
+8
-12
No files found.
yd-api/src/main/java/com/yd/api/practitioner/service/impl/PractitionerServiceImpl.java
View file @
8bc1b369
...
@@ -5194,10 +5194,10 @@ public class PractitionerServiceImpl implements com.yd.api.practitioner.service.
...
@@ -5194,10 +5194,10 @@ public class PractitionerServiceImpl implements com.yd.api.practitioner.service.
resp
.
setCommonResult
(
new
CommonResult
(
false
,
"经纪人ID不可为空"
));
resp
.
setCommonResult
(
new
CommonResult
(
false
,
"经纪人ID不可为空"
));
return
resp
;
return
resp
;
}
}
//
if (Strings.isNullOrEmpty(requestVO.getEmail())) {
if
(
Strings
.
isNullOrEmpty
(
requestVO
.
getEmail
()))
{
//
resp.setCommonResult(new CommonResult(false, "经纪人申请的邮箱地址不可为空"));
resp
.
setCommonResult
(
new
CommonResult
(
false
,
"经纪人申请的邮箱地址不可为空"
));
//
return resp;
return
resp
;
//
}
}
//等保调整
//等保调整
List
<
AclCustomer
>
findByObjSortable
=
aclPractitionerDALService
.
getAclCustomers
(
practitionerId
,
null
);
List
<
AclCustomer
>
findByObjSortable
=
aclPractitionerDALService
.
getAclCustomers
(
practitionerId
,
null
);
if
(
null
==
findByObjSortable
)
{
if
(
null
==
findByObjSortable
)
{
...
@@ -5211,10 +5211,10 @@ public class PractitionerServiceImpl implements com.yd.api.practitioner.service.
...
@@ -5211,10 +5211,10 @@ public class PractitionerServiceImpl implements com.yd.api.practitioner.service.
resp
.
setCommonResult
(
new
CommonResult
(
false
,
"经纪人银盾保险专属办公邮箱已开通,无需在申请!"
));
resp
.
setCommonResult
(
new
CommonResult
(
false
,
"经纪人银盾保险专属办公邮箱已开通,无需在申请!"
));
return
resp
;
return
resp
;
}
}
//
if(!requestVO.getEmail().equals(practitioner.getEmail())){
if
(!
requestVO
.
getEmail
().
equals
(
practitioner
.
getEmail
())){
//
resp.setCommonResult(new CommonResult(false, "经纪人申请的邮箱与系统邮箱不一致,请联系管理员确认!"));
resp
.
setCommonResult
(
new
CommonResult
(
false
,
"经纪人申请的邮箱与系统邮箱不一致,请联系管理员确认!"
));
//
return resp;
return
resp
;
//
}
}
try
{
try
{
//发送邮件给客服,同步跟进
//发送邮件给客服,同步跟进
String
toAddress
=
systemConfigService
.
getSingleConfigValue
(
"ApplyEmailToAddress"
);
String
toAddress
=
systemConfigService
.
getSingleConfigValue
(
"ApplyEmailToAddress"
);
...
@@ -5248,11 +5248,7 @@ public class PractitionerServiceImpl implements com.yd.api.practitioner.service.
...
@@ -5248,11 +5248,7 @@ public class PractitionerServiceImpl implements com.yd.api.practitioner.service.
if
(!
boole
){
if
(!
boole
){
messageText
=
messageText
.
substring
(
0
,
messageText
.
length
()-
1
);
messageText
=
messageText
.
substring
(
0
,
messageText
.
length
()-
1
);
}
}
if
(
Strings
.
isNullOrEmpty
(
requestVO
.
getEmail
()))
{
messageText
+=
"的经纪人【"
+
practitioner
.
getName
()+
"】申请开通银盾保险专属办公邮箱【"
+
practitioner
.
getEmail
()+
"】,请您在2个工作日内帮忙开通,谢谢!"
;
messageText
+=
"的经纪人【"
+
practitioner
.
getName
()+
"】申请开通银盾保险专属办公邮箱【"
+
practitioner
.
getEmail
()+
"】,请您在2个工作日内帮忙开通,谢谢!"
;
}
else
{
messageText
+=
"的经纪人【"
+
practitioner
.
getName
()+
"】申请开通银盾保险专属办公邮箱,请您在2个工作日内帮忙开通,谢谢!"
;
}
mailService
.
sysNotify
(
toAddress
,
ccAddress
.
split
(
","
),
subject
,
messageText
);
mailService
.
sysNotify
(
toAddress
,
ccAddress
.
split
(
","
),
subject
,
messageText
);
resp
.
setCommonResult
(
new
CommonResult
(
true
,
ZHBErrorConfig
.
getErrorInfo
(
"800000"
)));
resp
.
setCommonResult
(
new
CommonResult
(
true
,
ZHBErrorConfig
.
getErrorInfo
(
"800000"
)));
}
}
...
...
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