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
456fcd2a
Commit
456fcd2a
authored
Apr 01, 2024
by
盖献康
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'gaixiankang' into 'dev'
bug - 70845 See merge request
!251
parents
d3535aa8
47279a0c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
7 deletions
+9
-7
PdfTemplateManagementServiceImpl.java
.../ruoyi/service/impl/PdfTemplateManagementServiceImpl.java
+9
-7
No files found.
quality-review/src/main/java/com/ruoyi/service/impl/PdfTemplateManagementServiceImpl.java
View file @
456fcd2a
...
@@ -229,6 +229,7 @@ public class PdfTemplateManagementServiceImpl implements PdfTemplateManagementSe
...
@@ -229,6 +229,7 @@ public class PdfTemplateManagementServiceImpl implements PdfTemplateManagementSe
// 查询数据
// 查询数据
List
<
ReviewEnterpriseArchiveViewVO
>
viewList
=
reviewEnterpriseArchiveService
.
view
(
taskId
);
List
<
ReviewEnterpriseArchiveViewVO
>
viewList
=
reviewEnterpriseArchiveService
.
view
(
taskId
);
for
(
ReviewEnterpriseArchiveViewVO
view
:
viewList
)
{
for
(
ReviewEnterpriseArchiveViewVO
view
:
viewList
)
{
if
(
view
.
getItems
().
size
()
>
0
)
{
document
.
writeCell
(
view
.
getFileName
(),
Element
.
ALIGN_LEFT
,
1
,
view
.
getItems
().
size
(),
table
);
document
.
writeCell
(
view
.
getFileName
(),
Element
.
ALIGN_LEFT
,
1
,
view
.
getItems
().
size
(),
table
);
view
.
getItems
().
forEach
(
item
->
{
view
.
getItems
().
forEach
(
item
->
{
document
.
writeCell
(
item
.
getCatalogue
(),
Element
.
ALIGN_LEFT
,
1
,
1
,
table
);
document
.
writeCell
(
item
.
getCatalogue
(),
Element
.
ALIGN_LEFT
,
1
,
1
,
table
);
...
@@ -237,6 +238,7 @@ public class PdfTemplateManagementServiceImpl implements PdfTemplateManagementSe
...
@@ -237,6 +238,7 @@ public class PdfTemplateManagementServiceImpl implements PdfTemplateManagementSe
document
.
writeCell
(
item
.
getKeyPoint
(),
Element
.
ALIGN_LEFT
,
1
,
1
,
table
);
document
.
writeCell
(
item
.
getKeyPoint
(),
Element
.
ALIGN_LEFT
,
1
,
1
,
table
);
});
});
}
}
}
document
.
addContent
(
table
);
document
.
addContent
(
table
);
// 最后结尾签字
// 最后结尾签字
PdfPTable
signTable
=
new
PdfPTable
(
new
float
[]{
40
,
15
});
PdfPTable
signTable
=
new
PdfPTable
(
new
float
[]{
40
,
15
});
...
...
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