Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
Y
yn-health-science
Project
Project
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
徐俊
yn-health-science
Commits
178121a9
Commit
178121a9
authored
Feb 12, 2025
by
徐俊
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
xujun
parent
75ae2ca5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
ComProjectController.java
...ava/com/yiboshi/science/rest/v1/ComProjectController.java
+1
-1
ProjectInfoToPDF.java
...main/java/com/yiboshi/science/utils/ProjectInfoToPDF.java
+2
-0
No files found.
science-admin/src/main/java/com/yiboshi/science/rest/v1/ComProjectController.java
View file @
178121a9
...
@@ -210,7 +210,7 @@ public class ComProjectController extends BaseController<ComProjectService, ComP
...
@@ -210,7 +210,7 @@ public class ComProjectController extends BaseController<ComProjectService, ComP
return
ResponseDataModel
.
ok
(
comProjectService
.
projectImport
(
list
));
return
ResponseDataModel
.
ok
(
comProjectService
.
projectImport
(
list
));
}
}
@ApiOperation
(
value
=
"项目信息导出
"
,
httpMethod
=
"POST"
,
notes
=
"项目信息导出
"
)
@ApiOperation
(
value
=
"项目信息导出
1"
,
httpMethod
=
"POST"
,
notes
=
"项目信息导出1
"
)
@RequestMapping
(
"/projectExport/{id}"
)
@RequestMapping
(
"/projectExport/{id}"
)
@PostMapping
@PostMapping
public
ResponseDataModel
<
String
>
projectExport
(
@PathVariable
String
id
)
throws
DocumentException
,
IOException
{
public
ResponseDataModel
<
String
>
projectExport
(
@PathVariable
String
id
)
throws
DocumentException
,
IOException
{
...
...
science-admin/src/main/java/com/yiboshi/science/utils/ProjectInfoToPDF.java
View file @
178121a9
...
@@ -21,6 +21,8 @@ public class ProjectInfoToPDF {
...
@@ -21,6 +21,8 @@ public class ProjectInfoToPDF {
// 宋体
// 宋体
BaseFont
bfChinese
=
loadChineseFont
(
"/fonts/simsun.ttc"
);
BaseFont
bfChinese
=
loadChineseFont
(
"/fonts/simsun.ttc"
);
// 仿宋
BaseFont
fsChinese
=
loadChineseFont
(
"/fonts/方正仿宋简体.ttf"
);
Font
labelFont
=
new
Font
(
bfChinese
,
16
,
Font
.
NORMAL
);
Font
labelFont
=
new
Font
(
bfChinese
,
16
,
Font
.
NORMAL
);
Font
valueFont
=
new
Font
(
bfChinese
,
16
,
Font
.
NORMAL
);
Font
valueFont
=
new
Font
(
bfChinese
,
16
,
Font
.
NORMAL
);
...
...
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