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
5b160f68
Commit
5b160f68
authored
Jan 25, 2021
by
Simon Cheng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
'中文文件名修改'
parent
b804775f
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
6 deletions
+5
-6
yd-api/src/main/java/com/yd/api/practitioner/service/impl/PractitionerHiringContractServiceImpl.java
+3
-4
yd-api/src/main/resources/pdfconfiguration.properties
+2
-2
No files found.
yd-api/src/main/java/com/yd/api/practitioner/service/impl/PractitionerHiringContractServiceImpl.java
View file @
5b160f68
...
@@ -600,13 +600,12 @@ public class PractitionerHiringContractServiceImpl implements PractitionerHiring
...
@@ -600,13 +600,12 @@ public class PractitionerHiringContractServiceImpl implements PractitionerHiring
String
keyStorePath
=
"D:\\pcs12\\4929078_m.zuihuibi.cn.pfx"
;
String
keyStorePath
=
"D:\\pcs12\\4929078_m.zuihuibi.cn.pfx"
;
keyStorePath
=
PDFConfiguration
.
getProperty
(
"pdf.keyStorePath"
);
keyStorePath
=
PDFConfiguration
.
getProperty
(
"pdf.keyStorePath"
);
;
//准备加盖电子印章的源文件
//准备加盖电子印章的源文件
String
signSourcePDF
=
templateResultPDF
;
String
signSourcePDF
=
templateResultPDF
;
//电子印章文件
/*String signImage = "D:\\pcs12\\上海银盾保险经纪有限公司.png";
//电子印章文件
String
signImage
=
"D:\\pcs12\\上海银盾保险经纪有限公司.png"
;
signImage
=
PDFConfiguration
.
getProperty
(
"pdf.signImage"
);
signImage
=
PDFConfiguration
.
getProperty
(
"pdf.signImage"
);
float
x
=
450
;
float
x
=
450
;
float
y
=
150
;
float
y
=
150
;
...
@@ -616,7 +615,7 @@ public class PractitionerHiringContractServiceImpl implements PractitionerHiring
...
@@ -616,7 +615,7 @@ public class PractitionerHiringContractServiceImpl implements PractitionerHiring
PDFSign
.
sign
(
signResultPDF
,
password
,
keyStorePath
,
signSourcePDF
,
signImage
,
x
,
y
);
PDFSign
.
sign
(
signResultPDF
,
password
,
keyStorePath
,
signSourcePDF
,
signImage
,
x
,
y
);
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
e
.
printStackTrace
();
e
.
printStackTrace
();
}
*/
}
return
templateResultPDF
;
return
templateResultPDF
;
}
}
...
...
yd-api/src/main/resources/pdfconfiguration.properties
View file @
5b160f68
pdf.template
=
/opt/tomcat8/conf/ydpdf/pdfres/templatePractitionerContract.pdf
pdf.template
=
/opt/tomcat8/conf/ydpdf/pdfres/templatePractitionerContract.pdf
pdf.signImage
=
/opt/tomcat8/conf/ydpdf/pdfres/
上海银盾保险经纪有限公司
.png
pdf.signImage
=
/opt/tomcat8/conf/ydpdf/pdfres/
yindunsign
.png
pdf.keyStorePath
=
/opt/tomcat8/conf/ydpdf/pdfres/4929078_m.zuihuibi.cn.pfx
pdf.keyStorePath
=
/opt/tomcat8/conf/ydpdf/pdfres/4929078_m.zuihuibi.cn.pfx
pdf.keyPasswordFile
=
/opt/tomcat8/conf/ydpdf/pdfres/jks-password.txt
pdf.keyPasswordFile
=
/opt/tomcat8/conf/ydpdf/pdfres/jks-password.txt
...
@@ -9,7 +9,7 @@ pdf.uncheck=/opt/tomcat8/conf/ydpdf/pdfres/uncheck.png
...
@@ -9,7 +9,7 @@ pdf.uncheck=/opt/tomcat8/conf/ydpdf/pdfres/uncheck.png
pdf.temp.path
=
/opt/tomcat8/temp/
pdf.temp.path
=
/opt/tomcat8/temp/
pdf.firstParty
=
上海银盾保险经纪有限公司
pdf.firstParty
=
上海银盾保险经纪有限公司
pdf.firstPartyResponser
=
Sharon W
an
pdf.firstPartyResponser
=
Wan Shuang Li
an
pdf.firstPartyAddress
=
上海市浦东新区张杨路560号中融恒瑞国际西楼1706室
pdf.firstPartyAddress
=
上海市浦东新区张杨路560号中融恒瑞国际西楼1706室
pdf.position.x
=
450
pdf.position.x
=
450
...
...
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