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
74ebac6f
Commit
74ebac6f
authored
Jan 19, 2024
by
W_Y
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
创建场景变更任务
parent
960f6683
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
21 additions
and
0 deletions
+21
-0
ReviewSceneChangeTask.java
...src/main/java/com/ruoyi/domain/ReviewSceneChangeTask.java
+6
-0
ReviewSceneChangeTaskController.java
...n/java/com/ruoyi/web/ReviewSceneChangeTaskController.java
+2
-0
ReviewSceneChangeTaskCreateRequest.java
...ruoyi/web/request/ReviewSceneChangeTaskCreateRequest.java
+3
-0
ReviewSceneChangeTaskResponse.java
...com/ruoyi/web/response/ReviewSceneChangeTaskResponse.java
+6
-0
ReviewSceneChangeTaskMapper.xml
...src/main/resources/mapper/ReviewSceneChangeTaskMapper.xml
+4
-0
No files found.
quality-review/src/main/java/com/ruoyi/domain/ReviewSceneChangeTask.java
View file @
74ebac6f
...
@@ -118,6 +118,12 @@ public class ReviewSceneChangeTask {
...
@@ -118,6 +118,12 @@ public class ReviewSceneChangeTask {
@ApiModelProperty
(
value
=
"操作"
,
notes
=
"[ADD DELETE UPDATE]"
)
@ApiModelProperty
(
value
=
"操作"
,
notes
=
"[ADD DELETE UPDATE]"
)
private
String
operation
;
private
String
operation
;
@ApiModelProperty
(
value
=
"分类"
,
notes
=
"[KEYPOINT DETAILS SCENE]"
)
private
String
sort
;
@ApiModelProperty
(
"评审类型"
)
private
String
operationSort
;
/**
/**
* 当 operation 为 ADD 时该字段为空
* 当 operation 为 ADD 时该字段为空
*/
*/
...
...
quality-review/src/main/java/com/ruoyi/web/ReviewSceneChangeTaskController.java
View file @
74ebac6f
...
@@ -39,6 +39,8 @@ public class ReviewSceneChangeTaskController extends BaseController {
...
@@ -39,6 +39,8 @@ public class ReviewSceneChangeTaskController extends BaseController {
ReviewSceneChangeTask
reviewSceneChangeTask
=
new
ReviewSceneChangeTask
();
ReviewSceneChangeTask
reviewSceneChangeTask
=
new
ReviewSceneChangeTask
();
BeanUtils
.
copyBeanProp
(
reviewSceneChangeTask
,
request
);
BeanUtils
.
copyBeanProp
(
reviewSceneChangeTask
,
request
);
reviewSceneChangeTask
.
setOperationSort
(
request
.
getOperation
()+
"_"
+
request
.
getSort
());
reviewSceneChangeTaskService
.
create
(
reviewSceneChangeTask
);
reviewSceneChangeTaskService
.
create
(
reviewSceneChangeTask
);
return
R
.
ok
();
return
R
.
ok
();
...
...
quality-review/src/main/java/com/ruoyi/web/request/ReviewSceneChangeTaskCreateRequest.java
View file @
74ebac6f
...
@@ -62,6 +62,9 @@ public class ReviewSceneChangeTaskCreateRequest {
...
@@ -62,6 +62,9 @@ public class ReviewSceneChangeTaskCreateRequest {
@ApiModelProperty
(
value
=
"操作"
,
notes
=
"[ADD DELETE UPDATE]"
)
@ApiModelProperty
(
value
=
"操作"
,
notes
=
"[ADD DELETE UPDATE]"
)
private
String
operation
;
private
String
operation
;
@ApiModelProperty
(
value
=
"分类"
,
notes
=
"[KEYPOINT DETAILS SCENE]"
)
private
String
sort
;
/**
/**
* 当 operation 为 ADD 时该字段为空
* 当 operation 为 ADD 时该字段为空
*/
*/
...
...
quality-review/src/main/java/com/ruoyi/web/response/ReviewSceneChangeTaskResponse.java
View file @
74ebac6f
...
@@ -70,6 +70,12 @@ public class ReviewSceneChangeTaskResponse {
...
@@ -70,6 +70,12 @@ public class ReviewSceneChangeTaskResponse {
@ApiModelProperty
(
"操作(ADD DELETE UPDATE)"
)
@ApiModelProperty
(
"操作(ADD DELETE UPDATE)"
)
private
String
operation
;
private
String
operation
;
@ApiModelProperty
(
value
=
"分类"
,
notes
=
"[KEYPOINT DETAILS SCENE]"
)
private
String
sort
;
@ApiModelProperty
(
"评审类型"
)
private
String
operationSort
;
/**
/**
* 当 operation 为 ADD 时该字段为空
* 当 operation 为 ADD 时该字段为空
*/
*/
...
...
quality-review/src/main/resources/mapper/ReviewSceneChangeTaskMapper.xml
View file @
74ebac6f
...
@@ -12,6 +12,8 @@
...
@@ -12,6 +12,8 @@
<result
property=
"keypoint"
column=
"keypoint"
jdbcType=
"VARCHAR"
/>
<result
property=
"keypoint"
column=
"keypoint"
jdbcType=
"VARCHAR"
/>
<result
property=
"details"
column=
"details"
jdbcType=
"VARCHAR"
/>
<result
property=
"details"
column=
"details"
jdbcType=
"VARCHAR"
/>
<result
property=
"operation"
column=
"operation"
jdbcType=
"VARCHAR"
/>
<result
property=
"operation"
column=
"operation"
jdbcType=
"VARCHAR"
/>
<result
property=
"sort"
column=
"sort"
jdbcType=
"VARCHAR"
/>
<result
property=
"operationSort"
column=
"operation_sort"
jdbcType=
"VARCHAR"
/>
<result
property=
"oldText"
column=
"old_text"
jdbcType=
"VARCHAR"
/>
<result
property=
"oldText"
column=
"old_text"
jdbcType=
"VARCHAR"
/>
<result
property=
"newText"
column=
"new_text"
jdbcType=
"VARCHAR"
/>
<result
property=
"newText"
column=
"new_text"
jdbcType=
"VARCHAR"
/>
<result
property=
"taskInitiator"
column=
"task_initiator"
jdbcType=
"VARCHAR"
/>
<result
property=
"taskInitiator"
column=
"task_initiator"
jdbcType=
"VARCHAR"
/>
...
@@ -30,6 +32,8 @@
...
@@ -30,6 +32,8 @@
<result
property=
"keypoint"
column=
"keypoint"
jdbcType=
"VARCHAR"
/>
<result
property=
"keypoint"
column=
"keypoint"
jdbcType=
"VARCHAR"
/>
<result
property=
"details"
column=
"details"
jdbcType=
"VARCHAR"
/>
<result
property=
"details"
column=
"details"
jdbcType=
"VARCHAR"
/>
<result
property=
"operation"
column=
"operation"
jdbcType=
"VARCHAR"
/>
<result
property=
"operation"
column=
"operation"
jdbcType=
"VARCHAR"
/>
<result
property=
"sort"
column=
"sort"
jdbcType=
"VARCHAR"
/>
<result
property=
"operationSort"
column=
"operation_sort"
jdbcType=
"VARCHAR"
/>
<result
property=
"oldText"
column=
"old_text"
jdbcType=
"VARCHAR"
/>
<result
property=
"oldText"
column=
"old_text"
jdbcType=
"VARCHAR"
/>
<result
property=
"newText"
column=
"new_text"
jdbcType=
"VARCHAR"
/>
<result
property=
"newText"
column=
"new_text"
jdbcType=
"VARCHAR"
/>
<result
property=
"taskInitiator"
column=
"task_initiator"
jdbcType=
"VARCHAR"
/>
<result
property=
"taskInitiator"
column=
"task_initiator"
jdbcType=
"VARCHAR"
/>
...
...
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