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
36691b51
Commit
36691b51
authored
Mar 06, 2024
by
盖献康
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
PDF - TODO占位
parent
958b2fab
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
9 deletions
+5
-9
PdfTemplateManagementServiceImpl.java
.../ruoyi/service/impl/PdfTemplateManagementServiceImpl.java
+1
-1
PdfTemplateManagementController.java
...n/java/com/ruoyi/web/PdfTemplateManagementController.java
+4
-8
No files found.
quality-review/src/main/java/com/ruoyi/service/impl/PdfTemplateManagementServiceImpl.java
View file @
36691b51
...
@@ -165,7 +165,7 @@ public class PdfTemplateManagementServiceImpl implements PdfTemplateManagementSe
...
@@ -165,7 +165,7 @@ public class PdfTemplateManagementServiceImpl implements PdfTemplateManagementSe
document
.
close
();
document
.
close
();
// 上传到Minio
// 上传到Minio
return
uploadMinio
(
outputStream
,
"企业留档文件"
);
return
uploadMinio
(
outputStream
,
"企业留档文件"
+
"_"
+
taskId
);
}
}
/**
/**
...
...
quality-review/src/main/java/com/ruoyi/web/PdfTemplateManagementController.java
View file @
36691b51
...
@@ -83,8 +83,7 @@ public class PdfTemplateManagementController {
...
@@ -83,8 +83,7 @@ public class PdfTemplateManagementController {
case
0
:
case
0
:
url
=
task
.
getVehicleInformationUrl
();
url
=
task
.
getVehicleInformationUrl
();
if
(
StrUtil
.
isBlank
(
url
))
{
if
(
StrUtil
.
isBlank
(
url
))
{
// 新生成
// TODO 生成整车
System
.
out
.
println
(
"0"
);
}
}
break
;
break
;
case
1
:
case
1
:
...
@@ -99,11 +98,10 @@ public class PdfTemplateManagementController {
...
@@ -99,11 +98,10 @@ public class PdfTemplateManagementController {
case
2
:
case
2
:
url
=
task
.
getModelTestUrl
();
url
=
task
.
getModelTestUrl
();
if
(
StrUtil
.
isBlank
(
url
))
{
if
(
StrUtil
.
isBlank
(
url
))
{
System
.
out
.
println
(
"2"
);
// TODO 生成车型
}
}
break
;
break
;
default
:
default
:
System
.
out
.
println
(
"default"
);
break
;
break
;
}
}
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
...
@@ -125,8 +123,7 @@ public class PdfTemplateManagementController {
...
@@ -125,8 +123,7 @@ public class PdfTemplateManagementController {
try
{
try
{
switch
(
request
.
getType
())
{
switch
(
request
.
getType
())
{
case
0
:
case
0
:
// 更新
// TODO 更新整车
System
.
out
.
println
(
"0"
);
break
;
break
;
case
1
:
case
1
:
// 根据任务ID新生成
// 根据任务ID新生成
...
@@ -136,10 +133,9 @@ public class PdfTemplateManagementController {
...
@@ -136,10 +133,9 @@ public class PdfTemplateManagementController {
break
;
break
;
case
2
:
case
2
:
// 更新
// 更新
System
.
out
.
println
(
"2"
);
// TODO 更新车型
break
;
break
;
default
:
default
:
System
.
out
.
println
(
"default"
);
break
;
break
;
}
}
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
...
...
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