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
f6ddea57
Commit
f6ddea57
authored
Dec 26, 2023
by
王飞
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Feat
1、改为从收件箱中查询审查任务过程中的场景变更信息。 Reference N/A
parent
7ab5c4a3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
111 additions
and
0 deletions
+111
-0
ReviewSceneChangeTaskController.java
...n/java/com/ruoyi/web/ReviewSceneChangeTaskController.java
+41
-0
ReviewSceneChangeTaskCreateRequest.java
...ruoyi/web/request/ReviewSceneChangeTaskCreateRequest.java
+70
-0
No files found.
quality-review/src/main/java/com/ruoyi/web/ReviewSceneChangeTaskController.java
0 → 100644
View file @
f6ddea57
package
com
.
ruoyi
.
web
;
import
com.ruoyi.common.annotation.Log
;
import
com.ruoyi.common.core.controller.BaseController
;
import
com.ruoyi.common.core.domain.AjaxResult
;
import
com.ruoyi.common.enums.BusinessType
;
import
com.ruoyi.common.utils.bean.BeanUtils
;
import
com.ruoyi.domain.ReviewSceneChangeTask
;
import
com.ruoyi.service.ReviewSceneChangeTaskService
;
import
com.ruoyi.web.request.ReviewSceneChangeTaskCreateRequest
;
import
org.apache.skywalking.apm.toolkit.trace.Tag
;
import
org.apache.skywalking.apm.toolkit.trace.Tags
;
import
org.apache.skywalking.apm.toolkit.trace.Trace
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.validation.annotation.Validated
;
import
org.springframework.web.bind.annotation.RequestBody
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RequestMethod
;
import
org.springframework.web.bind.annotation.RestController
;
@RestController
@RequestMapping
(
"/review/scene/change/task"
)
public
class
ReviewSceneChangeTaskController
extends
BaseController
{
@Autowired
private
ReviewSceneChangeTaskService
reviewSceneChangeTaskService
;
@Trace
@Tags
({
@Tag
(
key
=
"param"
,
value
=
"arg[0]"
),
@Tag
(
key
=
"result"
,
value
=
"returnedObj"
)})
@Log
(
title
=
"场景变更任务"
,
businessType
=
BusinessType
.
INSERT
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/create"
)
public
AjaxResult
create
(
@Validated
@RequestBody
ReviewSceneChangeTaskCreateRequest
request
)
{
ReviewSceneChangeTask
reviewSceneChangeTask
=
new
ReviewSceneChangeTask
();
BeanUtils
.
copyBeanProp
(
reviewSceneChangeTask
,
request
);
reviewSceneChangeTaskService
.
create
(
reviewSceneChangeTask
);
return
success
();
}
}
quality-review/src/main/java/com/ruoyi/web/request/ReviewSceneChangeTaskCreateRequest.java
0 → 100644
View file @
f6ddea57
package
com
.
ruoyi
.
web
.
request
;
import
lombok.Data
;
@Data
public
class
ReviewSceneChangeTaskCreateRequest
{
/**
* 章节
*/
private
String
chapter
;
/**
* 审查标准id
*/
private
Long
standardId
;
/**
* 审查标准
*/
private
String
standard
;
/**
* 审查要点id
*/
private
Long
keypointId
;
/**
* 审查要点
*/
private
String
keypoint
;
/**
* 审查细则id
*/
private
Long
detailsId
;
/**
* 审查细则
*/
private
String
details
;
/**
* 操作(ADD DELETE UPDATE)
*/
private
String
operation
;
/**
* 当 operation 为 ADD 时该字段为空
*/
private
String
oldText
;
/**
* 当 operation 为 DELETE 时该字段为空
*/
private
String
newText
;
/**
* 备注
*/
private
String
remark
;
/**
* 审查场景id
* 若为修改、删除任务时,此id在创建任务时赋值
* 若为新增任务时,此id在审批通过并保存新场景后赋值
*/
private
Long
reviewSceneId
;
}
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