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
cc6264fe
Commit
cc6264fe
authored
Apr 21, 2022
by
wenyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
经纪人名片4.经纪人电子名片由后端返回,支持PDF/png
parent
deaefb84
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
yd-api/src/main/java/com/yd/api/practitioner/service/impl/PractitionerServiceImpl.java
+4
-4
No files found.
yd-api/src/main/java/com/yd/api/practitioner/service/impl/PractitionerServiceImpl.java
View file @
cc6264fe
...
@@ -5201,9 +5201,9 @@ public class PractitionerServiceImpl implements com.yd.api.practitioner.service.
...
@@ -5201,9 +5201,9 @@ public class PractitionerServiceImpl implements com.yd.api.practitioner.service.
resp
.
setInsurerAbbre
(
"银盾保险经纪"
);
resp
.
setInsurerAbbre
(
"银盾保险经纪"
);
resp
.
setInsurerUser
(
"全球保险集团BHL成员"
);
resp
.
setInsurerUser
(
"全球保险集团BHL成员"
);
resp
.
setBusinessCardType
(
requestVO
.
getBusinessCardType
());
resp
.
setBusinessCardType
(
requestVO
.
getBusinessCardType
());
//
if("1".equals(requestVO.getBusinessCardType()) || "2".equals(requestVO.getBusinessCardType()) || "3".equals(requestVO.getBusinessCardType())){
if
(
"1"
.
equals
(
requestVO
.
getBusinessCardType
())
||
"2"
.
equals
(
requestVO
.
getBusinessCardType
())
||
"3"
.
equals
(
requestVO
.
getBusinessCardType
())){
businessCardE
(
resp
);
businessCardE
(
resp
);
//
}
}
resp
.
setCommonResult
(
new
CommonResult
(
true
,
ZHBErrorConfig
.
getErrorInfo
(
"800000"
)));
resp
.
setCommonResult
(
new
CommonResult
(
true
,
ZHBErrorConfig
.
getErrorInfo
(
"800000"
)));
}
else
{
}
else
{
resp
.
setCommonResult
(
new
CommonResult
(
false
,
"没有查到该经纪人"
));
resp
.
setCommonResult
(
new
CommonResult
(
false
,
"没有查到该经纪人"
));
...
@@ -5279,9 +5279,9 @@ public class PractitionerServiceImpl implements com.yd.api.practitioner.service.
...
@@ -5279,9 +5279,9 @@ public class PractitionerServiceImpl implements com.yd.api.practitioner.service.
//按模板填充数据生成结果PDF
//按模板填充数据生成结果PDF
PDFTemplate
.
generatePDF
(
templatePDF
,
templateResultPDF
,
initDatas
,
initImages
);
PDFTemplate
.
generatePDF
(
templatePDF
,
templateResultPDF
,
initDatas
,
initImages
);
try
{
try
{
//
if("1".equals(resp.getBusinessCardType()) || "3".equals(resp.getBusinessCardType())){
if
(
"1"
.
equals
(
resp
.
getBusinessCardType
())
||
"3"
.
equals
(
resp
.
getBusinessCardType
())){
resp
.
setBusinessCardPdfUrl
(
putContractFileToOSS
(
"businessCardEPDF"
,
templateResultPDF
,
practitionerId
));
resp
.
setBusinessCardPdfUrl
(
putContractFileToOSS
(
"businessCardEPDF"
,
templateResultPDF
,
practitionerId
));
//
}
}
if
(
"2"
.
equals
(
resp
.
getBusinessCardType
())
||
"3"
.
equals
(
resp
.
getBusinessCardType
())){
if
(
"2"
.
equals
(
resp
.
getBusinessCardType
())
||
"3"
.
equals
(
resp
.
getBusinessCardType
())){
getBusinessCardImg
(
resp
,
practitionerId
,
templateResultPDF
,
tmpPathPDF
);
getBusinessCardImg
(
resp
,
practitionerId
,
templateResultPDF
,
tmpPathPDF
);
}
}
...
...
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