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
e01098d2
Commit
e01098d2
authored
Jul 02, 2024
by
wdy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
车型试验原始记录文件名
parent
78c73290
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
TaskServiceImpl.java
...src/main/java/com/ruoyi/service/impl/TaskServiceImpl.java
+1
-1
TestPdfBox.java
ruoyi-admin/src/test/java/com/ruoyi/TestPdfBox.java
+1
-1
No files found.
quality-review/src/main/java/com/ruoyi/service/impl/TaskServiceImpl.java
View file @
e01098d2
...
...
@@ -894,7 +894,7 @@ public class TaskServiceImpl extends ServiceImpl<TaskMapper, Task>implements Tas
// 将 BufferedImage 转换为 ByteArrayOutputStream
ByteArrayOutputStream
outputStream
=
new
ByteArrayOutputStream
();
ImageIO
.
write
(
image
,
"jpg"
,
outputStream
);
pictureUrl
+=
uploadMinio
(
outputStream
,
"车
型审查
原始记录_"
+
i
+
getReportName
()
+
".jpg"
)
+
","
;
pictureUrl
+=
uploadMinio
(
outputStream
,
"车
辆试验
原始记录_"
+
i
+
getReportName
()
+
".jpg"
)
+
","
;
}
// 关闭文档
...
...
ruoyi-admin/src/test/java/com/ruoyi/TestPdfBox.java
View file @
e01098d2
...
...
@@ -64,7 +64,7 @@ public class TestPdfBox {
// 将 BufferedImage 转换为 ByteArrayOutputStream
ByteArrayOutputStream
outputStream
=
new
ByteArrayOutputStream
();
ImageIO
.
write
(
image
,
"jpg"
,
outputStream
);
pictureUrl
+=
uploadMinio
(
outputStream
,
"车
型审查
原始记录_"
+
i
+
getReportName
()
+
".jpg"
)
+
","
;
pictureUrl
+=
uploadMinio
(
outputStream
,
"车
辆试验
原始记录_"
+
i
+
getReportName
()
+
".jpg"
)
+
","
;
}
// 关闭文档
...
...
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