Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vehicle-quality-review
Project
Project
Details
Activity
Releases
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
王飞
vehicle-quality-review
Commits
41b0e82f
Commit
41b0e82f
authored
Mar 12, 2024
by
盖献康
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'gaixiankang' into 'dev'
企业留档文件 - 其余内容 See merge request
!162
parents
354b5c59
aabd85e5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
PdfTemplateManagementServiceImpl.java
.../ruoyi/service/impl/PdfTemplateManagementServiceImpl.java
+8
-1
No files found.
quality-review/src/main/java/com/ruoyi/service/impl/PdfTemplateManagementServiceImpl.java
View file @
41b0e82f
...
...
@@ -147,7 +147,7 @@ public class PdfTemplateManagementServiceImpl implements PdfTemplateManagementSe
document
.
setParagraph
(
"检验中心名称"
,
12
f
,
0
,
30
,
15
f
,
20
f
);
// 创建表格
List
<
String
>
list
=
Arrays
.
asList
(
"文件名称"
,
"文件目录"
,
"标准章节"
,
"标准要求"
,
"审查要点"
);
float
[]
columnWidths
=
{
20
,
20
,
20
,
70
,
7
0
};
float
[]
columnWidths
=
{
30
,
25
,
25
,
60
,
6
0
};
PdfPTable
table
=
document
.
createWithHeaderTable
(
list
,
columnWidths
);
// 查询数据
List
<
ReviewEnterpriseArchiveViewVO
>
viewList
=
reviewEnterpriseArchiveService
.
view
(
taskId
);
...
...
@@ -161,6 +161,13 @@ public class PdfTemplateManagementServiceImpl implements PdfTemplateManagementSe
});
}
document
.
addContent
(
table
);
// 最后结尾签字
PdfPTable
signTable
=
new
PdfPTable
(
new
float
[]{
40
,
15
});
signTable
.
setWidthPercentage
(
100
);
signTable
.
setSpacingBefore
(
40
);
document
.
writeNoBorderCell
(
"车企负责人签字:"
,
Element
.
ALIGN_RIGHT
,
1
,
1
,
signTable
);
document
.
writeBottomCell
(
""
,
Element
.
ALIGN_RIGHT
,
1
,
1
,
signTable
);
document
.
addContent
(
signTable
);
// 关闭
document
.
close
();
...
...
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