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
5aba94c7
Commit
5aba94c7
authored
Mar 28, 2021
by
yao.xiao
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin' into dev_20210308_sharing
parents
ffbb263d
579e2031
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
164 additions
and
5 deletions
+164
-5
yd-api/lib/com-libs-pdf-0.0.1.jar
+0
-0
yd-api/pom.xml
+10
-3
yd-api/src/main/java/com/yd/api/practitioner/PractitionerPDFTest.java
+3
-2
yd-api/src/main/java/com/yd/api/practitioner/vo/Commission.java
+124
-0
yd-api/src/main/java/com/yd/api/practitioner/vo/CommissionItems.java
+27
-0
yd-api/src/main/resources/images/Image_002.png
+0
-0
yd-api/src/main/resources/images/Image_012.jpg
+0
-0
yd-api/src/main/resources/template/practitionerSalaryTemplate.html
+0
-0
No files found.
yd-api/lib/com-libs-pdf-0.0.1.jar
View file @
5aba94c7
No preview for this file type
yd-api/pom.xml
View file @
5aba94c7
...
...
@@ -29,6 +29,11 @@
<dependencies>
<dependency>
<groupId>
org.freemarker
</groupId>
<artifactId>
freemarker
</artifactId>
<version>
2.3.20
</version>
</dependency>
<dependency>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter
</artifactId>
</dependency>
...
...
@@ -87,14 +92,15 @@
<dependency>
<groupId>
org.projectlombok
</groupId>
<artifactId>
lombok
</artifactId>
<optional>
true
</optional>
<version>
1.18.12
</version>
</dependency>
<dependency>
<groupId>
com.github.pagehelper
</groupId>
<artifactId>
pagehelper-spring-boot-starter
</artifactId>
<version>
1.2.5
</version>
</dependency>
<!--
<!--
<dependency>
<groupId>io.springfox</groupId>
<artifactId>springfox-swagger2</artifactId>
...
...
@@ -105,7 +111,7 @@
<artifactId>springfox-swagger-ui</artifactId>
<version>2.8.0</version>
</dependency>
-->
-->
<dependency>
<groupId>
com.google.guava
</groupId>
<artifactId>
guava
</artifactId>
...
...
@@ -221,6 +227,7 @@
<scope>
system
</scope>
<systemPath>
${basedir}/lib/com-libs-pdf-0.0.1.jar
</systemPath>
</dependency>
</dependencies>
<build>
...
...
yd-api/src/main/java/com/yd/api/practitioner/PractitionerPDFTest.java
View file @
5aba94c7
...
...
@@ -164,7 +164,8 @@ public class PractitionerPDFTest {
String
templatePDF
=
"D:\\pcs12\\templatePractitionerContract.pdf"
;
templatePDF
=
PDFConfiguration
.
getProperty
(
"pdf.template"
);
//模板文件生成零时文件
String
tmpPathPDF
=
PDFConfiguration
.
getProperty
(
"pdf.temp.path"
);
String
tmpPathPDF
=
"D:\\pcs12"
;
tmpPathPDF
=
PDFConfiguration
.
getProperty
(
"pdf.temp.path"
);
String
practitionerNO
=
"SH000012"
;
//PDF模板输出结果文件
...
...
@@ -186,7 +187,7 @@ public class PractitionerPDFTest {
signResultPDF
=
tmpPathPDF
+
practitionerNO
+
"-signedYD.pdf"
;
String
password
=
"UC645YlB"
;
password
=
readFileTxt
(
PDFConfiguration
.
getProperty
(
"pdf.keyPasswordFile"
));
//
password = readFileTxt(PDFConfiguration.getProperty("pdf.keyPasswordFile"));
String
keyStorePath
=
"D:\\pcs12\\4929078_m.zuihuibi.cn.pfx"
;
keyStorePath
=
PDFConfiguration
.
getProperty
(
"pdf.keyStorePath"
);;
...
...
yd-api/src/main/java/com/yd/api/practitioner/vo/Commission.java
0 → 100644
View file @
5aba94c7
package
com
.
yd
.
api
.
practitioner
.
vo
;
public
class
Commission
{
public
String
getInsurer
()
{
return
insurer
;
}
public
void
setInsurer
(
String
insurer
)
{
this
.
insurer
=
insurer
;
}
private
String
insurer
;
public
String
getPolicyNo
()
{
return
policyNo
;
}
public
void
setPolicyNo
(
String
policyNo
)
{
this
.
policyNo
=
policyNo
;
}
private
String
policyNo
;
public
String
getEffectiveDate
()
{
return
effectiveDate
;
}
public
void
setEffectiveDate
(
String
effectiveDate
)
{
this
.
effectiveDate
=
effectiveDate
;
}
private
String
effectiveDate
;
public
String
getProductCode
()
{
return
productCode
;
}
public
void
setProductCode
(
String
productCode
)
{
this
.
productCode
=
productCode
;
}
private
String
productCode
;
public
String
getSubSystem
()
{
return
subSystem
;
}
public
void
setSubSystem
(
String
subSystem
)
{
this
.
subSystem
=
subSystem
;
}
private
String
subSystem
;
public
String
getInsured
()
{
return
insured
;
}
public
void
setInsured
(
String
insured
)
{
this
.
insured
=
insured
;
}
private
String
insured
;
public
String
getYearMonth
()
{
return
yearMonth
;
}
public
void
setYearMonth
(
String
yearMonth
)
{
this
.
yearMonth
=
yearMonth
;
}
private
String
yearMonth
;
public
String
getPremium
()
{
return
premium
;
}
public
void
setPremium
(
String
premium
)
{
this
.
premium
=
premium
;
}
private
String
premium
;
public
String
getFyc
()
{
return
fyc
;
}
public
void
setFyc
(
String
fyc
)
{
this
.
fyc
=
fyc
;
}
private
String
fyc
;
public
String
getGradeRate
()
{
return
gradeRate
;
}
public
void
setGradeRate
(
String
gradeRate
)
{
this
.
gradeRate
=
gradeRate
;
}
private
String
gradeRate
;
public
String
getCommission
()
{
return
commission
;
}
public
void
setCommission
(
String
commission
)
{
this
.
commission
=
commission
;
}
private
String
commission
;
public
String
getNote
()
{
return
note
;
}
public
void
setNote
(
String
note
)
{
this
.
note
=
note
;
}
private
String
note
;
}
yd-api/src/main/java/com/yd/api/practitioner/vo/CommissionItems.java
0 → 100644
View file @
5aba94c7
package
com
.
yd
.
api
.
practitioner
.
vo
;
import
java.util.List
;
public
class
CommissionItems
{
public
String
getName
()
{
return
name
;
}
public
void
setName
(
String
name
)
{
this
.
name
=
name
;
}
private
String
name
;
public
List
<
Commission
>
getItems
()
{
return
items
;
}
public
void
setItems
(
List
<
Commission
>
items
)
{
this
.
items
=
items
;
}
private
List
<
Commission
>
items
;
}
yd-api/src/main/resources/images/Image_002.png
0 → 100644
View file @
5aba94c7
3.04 KB
yd-api/src/main/resources/images/Image_012.jpg
0 → 100644
View file @
5aba94c7
15.5 KB
yd-api/src/main/resources/template/practitionerSalaryTemplate.html
0 → 100644
View file @
5aba94c7
This diff is collapsed.
Click to expand it.
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