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
c7d55ca5
Commit
c7d55ca5
authored
Jan 25, 2024
by
W_Y
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
车辆问卷状态修改
parent
b51a6844
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
52 deletions
+0
-52
CarReviewTask.java
...-review/src/main/java/com/ruoyi/domain/CarReviewTask.java
+0
-2
StrategyCarReviewTaskNone.java
...ava/com/ruoyi/service/impl/StrategyCarReviewTaskNone.java
+0
-50
No files found.
quality-review/src/main/java/com/ruoyi/domain/CarReviewTask.java
View file @
c7d55ca5
...
...
@@ -27,8 +27,6 @@ public class CarReviewTask implements Serializable {
@TableField
(
exist
=
false
)
public
static
final
String
TASK_STATUS_NONE
=
"NONE"
;
@TableField
(
exist
=
false
)
public
static
final
String
TASK_STATUS_NEW
=
"NEW"
;
@TableField
(
exist
=
false
)
...
...
quality-review/src/main/java/com/ruoyi/service/impl/StrategyCarReviewTaskNone.java
deleted
100644 → 0
View file @
b51a6844
package
com
.
ruoyi
.
service
.
impl
;
import
com.ruoyi.common.constant.HttpStatus
;
import
com.ruoyi.common.exception.ServiceException
;
import
com.ruoyi.domain.CarReviewTask
;
import
com.ruoyi.service.StrategyCarReviewTask
;
import
com.ruoyi.web.response.CarReviewTaskViewResponse
;
import
org.springframework.beans.factory.InitializingBean
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.context.ApplicationContext
;
import
org.springframework.stereotype.Service
;
import
org.springframework.transaction.annotation.Transactional
;
@Transactional
@Service
public
class
StrategyCarReviewTaskNone
implements
StrategyCarReviewTask
,
InitializingBean
{
@Autowired
private
StrategyCarReviewTaskContext
strategyCarReviewTaskContext
;
@Autowired
private
ApplicationContext
applicationContext
;
@Override
public
CarReviewTaskViewResponse
doView
(
CarReviewTask
carReviewTask
)
{
throw
new
ServiceException
(
"不能查看一个不存在的任务"
,
HttpStatus
.
ERROR
);
}
@Override
public
void
doStartReview
(
CarReviewTask
carReviewTask
)
{
throw
new
ServiceException
(
"不能开始一个不存在的任务"
,
HttpStatus
.
ERROR
);
}
@Override
public
void
doConfirmReview
(
CarReviewTask
carReviewTask
)
{
throw
new
ServiceException
(
"不能确认一个不存在的任务"
,
HttpStatus
.
ERROR
);
}
@Override
public
void
doSubmitReview
(
CarReviewTask
carReviewTask
,
String
imagesUrl
)
{
throw
new
ServiceException
(
"不能提交一个不存在的任务"
,
HttpStatus
.
ERROR
);
}
@Override
public
void
afterPropertiesSet
()
throws
Exception
{
strategyCarReviewTaskContext
.
putResource
(
CarReviewTask
.
TASK_STATUS_NONE
,
applicationContext
.
getBean
(
this
.
getClass
()));
}
}
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