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
9ebcd874
Commit
9ebcd874
authored
Jan 30, 2024
by
W_Y
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
场景变更任务审核
parent
999e8d68
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
2 deletions
+15
-2
ReviewSceneChangeTask.java
...src/main/java/com/ruoyi/domain/ReviewSceneChangeTask.java
+13
-0
ReviewSceneChangeTaskServiceImpl.java
.../ruoyi/service/impl/ReviewSceneChangeTaskServiceImpl.java
+2
-2
No files found.
quality-review/src/main/java/com/ruoyi/domain/ReviewSceneChangeTask.java
View file @
9ebcd874
...
...
@@ -41,6 +41,19 @@ public class ReviewSceneChangeTask {
@TableField
(
exist
=
false
)
public
static
final
String
RESULT_REJECT
=
"REJECT"
;
/**
* 前段传入审核结果(1:通过)
*/
@TableField
(
exist
=
false
)
public
static
final
String
PASSED_PASS
=
"1"
;
/**
* 前段传入审核结果(0:不通过)
*/
@TableField
(
exist
=
false
)
public
static
final
String
PASSED_REJECT
=
"0"
;
/**
* 参与审核的角色
*/
...
...
quality-review/src/main/java/com/ruoyi/service/impl/ReviewSceneChangeTaskServiceImpl.java
View file @
9ebcd874
...
...
@@ -100,9 +100,9 @@ public class ReviewSceneChangeTaskServiceImpl extends ServiceImpl<ReviewSceneCha
@Override
public
void
audit
(
ReviewSceneChangeTaskPassRequest
request
)
{
if
(
request
.
getPassed
().
equals
(
"0"
))
{
if
(
request
.
getPassed
().
equals
(
ReviewSceneChangeTask
.
PASSED_REJECT
))
{
doProcess
(
request
.
getTaskId
(),
request
.
getComment
(),
ReviewSceneChangeTask
.
RESULT_REJECT
);
}
else
if
(
request
.
getPassed
().
equals
(
"1"
)){
}
else
if
(
request
.
getPassed
().
equals
(
ReviewSceneChangeTask
.
PASSED_PASS
)){
doProcess
(
request
.
getTaskId
(),
request
.
getComment
(),
ReviewSceneChangeTask
.
RESULT_PASS
);
}
else
{
throw
new
ServiceException
(
"审核状态不正确"
,
HttpStatus
.
ERROR
);
...
...
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