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
203a2c64
Commit
203a2c64
authored
Jul 01, 2024
by
wdy
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' into 'master'
dev - master 29 See merge request
!376
parents
89ecf17e
5fc288d2
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
8 additions
and
8 deletions
+8
-8
StrategyCarReviewTask.java
...rc/main/java/com/ruoyi/service/StrategyCarReviewTask.java
+1
-1
StrategyCarReviewTaskFinish.java
...a/com/ruoyi/service/impl/StrategyCarReviewTaskFinish.java
+1
-1
StrategyCarReviewTaskNew.java
...java/com/ruoyi/service/impl/StrategyCarReviewTaskNew.java
+1
-1
StrategyCarReviewTaskPending.java
.../com/ruoyi/service/impl/StrategyCarReviewTaskPending.java
+1
-1
StrategyCarReviewTaskSigned.java
...a/com/ruoyi/service/impl/StrategyCarReviewTaskSigned.java
+3
-3
CarReviewTaskSubmitRequest.java
...ava/com/ruoyi/web/request/CarReviewTaskSubmitRequest.java
+1
-1
No files found.
quality-review/src/main/java/com/ruoyi/service/StrategyCarReviewTask.java
View file @
203a2c64
...
@@ -13,5 +13,5 @@ public interface StrategyCarReviewTask {
...
@@ -13,5 +13,5 @@ public interface StrategyCarReviewTask {
void
doConfirmReview
(
CarReviewTask
carReviewTask
);
void
doConfirmReview
(
CarReviewTask
carReviewTask
);
void
doSubmitReview
(
CarReviewTask
carReviewTask
,
List
<
String
>
imagesUrl
,
List
<
Long
>
testScenarioList
);
void
doSubmitReview
(
CarReviewTask
carReviewTask
,
String
imagesUrl
,
List
<
Long
>
testScenarioList
);
}
}
quality-review/src/main/java/com/ruoyi/service/impl/StrategyCarReviewTaskFinish.java
View file @
203a2c64
...
@@ -81,7 +81,7 @@ public class StrategyCarReviewTaskFinish implements StrategyCarReviewTask, Initi
...
@@ -81,7 +81,7 @@ public class StrategyCarReviewTaskFinish implements StrategyCarReviewTask, Initi
}
}
@Override
@Override
public
void
doSubmitReview
(
CarReviewTask
carReviewTask
,
List
<
String
>
imagesUrl
,
List
<
Long
>
testScenarioList
)
{
public
void
doSubmitReview
(
CarReviewTask
carReviewTask
,
String
imagesUrl
,
List
<
Long
>
testScenarioList
)
{
throw
new
ServiceException
(
"不能提交一个结束的任务"
,
HttpStatus
.
ERROR
);
throw
new
ServiceException
(
"不能提交一个结束的任务"
,
HttpStatus
.
ERROR
);
}
}
...
...
quality-review/src/main/java/com/ruoyi/service/impl/StrategyCarReviewTaskNew.java
View file @
203a2c64
...
@@ -67,7 +67,7 @@ public class StrategyCarReviewTaskNew implements StrategyCarReviewTask, Initiali
...
@@ -67,7 +67,7 @@ public class StrategyCarReviewTaskNew implements StrategyCarReviewTask, Initiali
}
}
@Override
@Override
public
void
doSubmitReview
(
CarReviewTask
carReviewTask
,
List
<
String
>
imagesUrl
,
List
<
Long
>
testScenarioList
)
{
public
void
doSubmitReview
(
CarReviewTask
carReviewTask
,
String
imagesUrl
,
List
<
Long
>
testScenarioList
)
{
throw
new
ServiceException
(
"不能提交一个未开始的任务"
,
HttpStatus
.
ERROR
);
throw
new
ServiceException
(
"不能提交一个未开始的任务"
,
HttpStatus
.
ERROR
);
}
}
...
...
quality-review/src/main/java/com/ruoyi/service/impl/StrategyCarReviewTaskPending.java
View file @
203a2c64
...
@@ -166,7 +166,7 @@ public class StrategyCarReviewTaskPending implements StrategyCarReviewTask, Init
...
@@ -166,7 +166,7 @@ public class StrategyCarReviewTaskPending implements StrategyCarReviewTask, Init
}
}
@Override
@Override
public
void
doSubmitReview
(
CarReviewTask
carReviewTask
,
List
<
String
>
imagesUrl
,
List
<
Long
>
testScenarioList
)
{
public
void
doSubmitReview
(
CarReviewTask
carReviewTask
,
String
imagesUrl
,
List
<
Long
>
testScenarioList
)
{
throw
new
ServiceException
(
"不能提交一个未确认的任务"
,
HttpStatus
.
ERROR
);
throw
new
ServiceException
(
"不能提交一个未确认的任务"
,
HttpStatus
.
ERROR
);
...
...
quality-review/src/main/java/com/ruoyi/service/impl/StrategyCarReviewTaskSigned.java
View file @
203a2c64
...
@@ -98,7 +98,7 @@ public class StrategyCarReviewTaskSigned implements StrategyCarReviewTask, Initi
...
@@ -98,7 +98,7 @@ public class StrategyCarReviewTaskSigned implements StrategyCarReviewTask, Initi
}
}
@Override
@Override
public
void
doSubmitReview
(
CarReviewTask
carReviewTask
,
List
<
String
>
imagesUrl
,
List
<
Long
>
testScenarioList
)
{
public
void
doSubmitReview
(
CarReviewTask
carReviewTask
,
String
imagesUrl
,
List
<
Long
>
testScenarioList
)
{
// 1. 填充review_submit_time
// 1. 填充review_submit_time
carReviewTask
.
setTaskEndTime
(
new
Date
());
carReviewTask
.
setTaskEndTime
(
new
Date
());
...
@@ -113,8 +113,8 @@ public class StrategyCarReviewTaskSigned implements StrategyCarReviewTask, Initi
...
@@ -113,8 +113,8 @@ public class StrategyCarReviewTaskSigned implements StrategyCarReviewTask, Initi
carReviewTask
.
setSubmitName
(
loginUser
.
getNickName
());
carReviewTask
.
setSubmitName
(
loginUser
.
getNickName
());
// 4. 保存签名图片地址
// 4. 保存签名图片地址
String
joinImageUrl
=
StringUtils
.
join
(
imagesUrl
,
","
);
//
String joinImageUrl = StringUtils.join(imagesUrl,",");
carReviewTask
.
setImagesUrl
(
joinImageUrl
);
//
carReviewTask.setImagesUrl(joinImageUrl);
// 5.再找带该子任务所属的总任务,将总任务的状态由 RUNNING 改回 RUNNABLE
// 5.再找带该子任务所属的总任务,将总任务的状态由 RUNNING 改回 RUNNABLE
Task
task
=
taskMapper
.
selectById
(
taskMapper
.
findByCarReviewTaskId
(
carReviewTask
.
getId
()));
Task
task
=
taskMapper
.
selectById
(
taskMapper
.
findByCarReviewTaskId
(
carReviewTask
.
getId
()));
...
...
quality-review/src/main/java/com/ruoyi/web/request/CarReviewTaskSubmitRequest.java
View file @
203a2c64
...
@@ -14,7 +14,7 @@ public class CarReviewTaskSubmitRequest {
...
@@ -14,7 +14,7 @@ public class CarReviewTaskSubmitRequest {
private
Long
taskId
;
private
Long
taskId
;
@ApiModelProperty
(
"图片地址"
)
@ApiModelProperty
(
"图片地址"
)
private
List
<
String
>
imagesUrl
;
private
String
imagesUrl
;
@ApiModelProperty
(
"选择的测试场景"
)
@ApiModelProperty
(
"选择的测试场景"
)
private
List
<
Long
>
testScenarioList
;
private
List
<
Long
>
testScenarioList
;
...
...
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