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
7ceda232
Commit
7ceda232
authored
Feb 28, 2024
by
王飞
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'wangdingyi' into 'dev'
接口名称修改 See merge request
!105
parents
85173e53
02ee576c
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
12 additions
and
12 deletions
+12
-12
CarReviewTaskController.java
.../src/main/java/com/ruoyi/web/CarReviewTaskController.java
+2
-2
ReviewEnterpriseArchiveController.java
...java/com/ruoyi/web/ReviewEnterpriseArchiveController.java
+1
-1
ReviewSceneChangeTaskController.java
...n/java/com/ruoyi/web/ReviewSceneChangeTaskController.java
+1
-1
StandardController.java
...eview/src/main/java/com/ruoyi/web/StandardController.java
+2
-2
SystemReviewTaskController.java
...c/main/java/com/ruoyi/web/SystemReviewTaskController.java
+2
-2
TaskController.java
...ty-review/src/main/java/com/ruoyi/web/TaskController.java
+4
-4
No files found.
quality-review/src/main/java/com/ruoyi/web/CarReviewTaskController.java
View file @
7ceda232
...
@@ -34,7 +34,7 @@ public class CarReviewTaskController extends BaseController {
...
@@ -34,7 +34,7 @@ public class CarReviewTaskController extends BaseController {
@Trace
@Trace
@Tags
({
@Tag
(
key
=
"param"
,
value
=
"arg[0]"
),
@Tag
(
key
=
"result"
,
value
=
"returnedObj"
)})
@Tags
({
@Tag
(
key
=
"param"
,
value
=
"arg[0]"
),
@Tag
(
key
=
"result"
,
value
=
"returnedObj"
)})
@Log
(
title
=
"车辆审查任务"
,
businessType
=
BusinessType
.
INSERT
)
@Log
(
title
=
"车辆审查任务"
,
businessType
=
BusinessType
.
INSERT
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/
create
"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/
add
"
)
public
R
<
String
>
create
(
@Validated
@RequestBody
CarReviewTaskCreateRequest
request
)
{
public
R
<
String
>
create
(
@Validated
@RequestBody
CarReviewTaskCreateRequest
request
)
{
carReviewTaskService
.
createTask
(
request
);
carReviewTaskService
.
createTask
(
request
);
return
R
.
ok
();
return
R
.
ok
();
...
@@ -43,7 +43,7 @@ public class CarReviewTaskController extends BaseController {
...
@@ -43,7 +43,7 @@ public class CarReviewTaskController extends BaseController {
@ApiOperation
(
"查看车辆问卷审查任务详情"
)
@ApiOperation
(
"查看车辆问卷审查任务详情"
)
@Trace
@Trace
@Tags
({
@Tag
(
key
=
"param"
,
value
=
"arg[0]"
),
@Tag
(
key
=
"result"
,
value
=
"returnedObj"
)})
@Tags
({
@Tag
(
key
=
"param"
,
value
=
"arg[0]"
),
@Tag
(
key
=
"result"
,
value
=
"returnedObj"
)})
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/
view
"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/
getById
"
)
public
R
<
CarReviewTaskViewResponse
>
view
(
@Validated
@RequestBody
CarReviewTaskViewRequest
request
)
{
public
R
<
CarReviewTaskViewResponse
>
view
(
@Validated
@RequestBody
CarReviewTaskViewRequest
request
)
{
CarReviewTaskViewResponse
carReviewTaskViewResponse
=
carReviewTaskService
.
viewReviewTask
(
request
.
getTaskId
());
CarReviewTaskViewResponse
carReviewTaskViewResponse
=
carReviewTaskService
.
viewReviewTask
(
request
.
getTaskId
());
return
R
.
ok
(
carReviewTaskViewResponse
);
return
R
.
ok
(
carReviewTaskViewResponse
);
...
...
quality-review/src/main/java/com/ruoyi/web/ReviewEnterpriseArchiveController.java
View file @
7ceda232
...
@@ -42,7 +42,7 @@ public class ReviewEnterpriseArchiveController extends BaseController {
...
@@ -42,7 +42,7 @@ public class ReviewEnterpriseArchiveController extends BaseController {
@ApiOperation
(
"根据id查询"
)
@ApiOperation
(
"根据id查询"
)
@Trace
@Trace
@Tags
({
@Tag
(
key
=
"param"
,
value
=
"arg[0]"
),
@Tag
(
key
=
"result"
,
value
=
"returnedObj"
)})
@Tags
({
@Tag
(
key
=
"param"
,
value
=
"arg[0]"
),
@Tag
(
key
=
"result"
,
value
=
"returnedObj"
)})
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/get
Info
"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/get
ById
"
)
public
R
<
ReviewEnterpriseArchive
>
getInfo
(
@Validated
@RequestBody
ReviewEnterpriseArchiveGetInfoRequest
request
)
{
public
R
<
ReviewEnterpriseArchive
>
getInfo
(
@Validated
@RequestBody
ReviewEnterpriseArchiveGetInfoRequest
request
)
{
ReviewEnterpriseArchive
reviewEnterpriseArchive
=
reviewEnterpriseArchiveService
.
getInfo
(
request
);
ReviewEnterpriseArchive
reviewEnterpriseArchive
=
reviewEnterpriseArchiveService
.
getInfo
(
request
);
...
...
quality-review/src/main/java/com/ruoyi/web/ReviewSceneChangeTaskController.java
View file @
7ceda232
...
@@ -34,7 +34,7 @@ public class ReviewSceneChangeTaskController extends BaseController {
...
@@ -34,7 +34,7 @@ public class ReviewSceneChangeTaskController extends BaseController {
@Trace
@Trace
@Tags
({
@Tag
(
key
=
"param"
,
value
=
"arg[0]"
),
@Tag
(
key
=
"result"
,
value
=
"returnedObj"
)})
@Tags
({
@Tag
(
key
=
"param"
,
value
=
"arg[0]"
),
@Tag
(
key
=
"result"
,
value
=
"returnedObj"
)})
@Log
(
title
=
"场景变更任务"
,
businessType
=
BusinessType
.
INSERT
)
@Log
(
title
=
"场景变更任务"
,
businessType
=
BusinessType
.
INSERT
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/
create
"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/
add
"
)
public
R
<
String
>
create
(
@Validated
@RequestBody
ReviewSceneChangeTaskCreateRequest
request
)
{
public
R
<
String
>
create
(
@Validated
@RequestBody
ReviewSceneChangeTaskCreateRequest
request
)
{
ReviewSceneChangeTask
reviewSceneChangeTask
=
new
ReviewSceneChangeTask
();
ReviewSceneChangeTask
reviewSceneChangeTask
=
new
ReviewSceneChangeTask
();
...
...
quality-review/src/main/java/com/ruoyi/web/StandardController.java
View file @
7ceda232
...
@@ -47,7 +47,7 @@ public class StandardController extends BaseController {
...
@@ -47,7 +47,7 @@ public class StandardController extends BaseController {
@Trace
@Trace
@Tags
({
@Tag
(
key
=
"param"
,
value
=
"arg[0]"
),
@Tag
(
key
=
"result"
,
value
=
"returnedObj"
)})
@Tags
({
@Tag
(
key
=
"param"
,
value
=
"arg[0]"
),
@Tag
(
key
=
"result"
,
value
=
"returnedObj"
)})
@Log
(
title
=
"编辑任务"
,
businessType
=
BusinessType
.
UPDATE
)
@Log
(
title
=
"编辑任务"
,
businessType
=
BusinessType
.
UPDATE
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/edit
Standard
"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/edit"
)
public
R
<
String
>
editTask
(
@Validated
@RequestBody
StandardEditRequest
request
)
{
public
R
<
String
>
editTask
(
@Validated
@RequestBody
StandardEditRequest
request
)
{
standardService
.
editStandard
(
request
);
standardService
.
editStandard
(
request
);
return
R
.
ok
();
return
R
.
ok
();
...
@@ -56,7 +56,7 @@ public class StandardController extends BaseController {
...
@@ -56,7 +56,7 @@ public class StandardController extends BaseController {
@ApiOperation
(
"查看标准详情"
)
@ApiOperation
(
"查看标准详情"
)
@Trace
@Trace
@Tags
({
@Tag
(
key
=
"param"
,
value
=
"arg[0]"
),
@Tag
(
key
=
"result"
,
value
=
"returnedObj"
)})
@Tags
({
@Tag
(
key
=
"param"
,
value
=
"arg[0]"
),
@Tag
(
key
=
"result"
,
value
=
"returnedObj"
)})
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/get
Info
"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/get
ById
"
)
public
R
<
Standard
>
getInfo
(
@Validated
@RequestBody
StandardGetInfoRequest
request
)
{
public
R
<
Standard
>
getInfo
(
@Validated
@RequestBody
StandardGetInfoRequest
request
)
{
Standard
standard
=
standardService
.
getInfo
(
request
);
Standard
standard
=
standardService
.
getInfo
(
request
);
...
...
quality-review/src/main/java/com/ruoyi/web/SystemReviewTaskController.java
View file @
7ceda232
...
@@ -37,7 +37,7 @@ public class SystemReviewTaskController extends BaseController {
...
@@ -37,7 +37,7 @@ public class SystemReviewTaskController extends BaseController {
@Trace
@Trace
@Tags
({
@Tag
(
key
=
"param"
,
value
=
"arg[0]"
),
@Tag
(
key
=
"result"
,
value
=
"returnedObj"
)})
@Tags
({
@Tag
(
key
=
"param"
,
value
=
"arg[0]"
),
@Tag
(
key
=
"result"
,
value
=
"returnedObj"
)})
@Log
(
title
=
"体系审查任务"
,
businessType
=
BusinessType
.
INSERT
)
@Log
(
title
=
"体系审查任务"
,
businessType
=
BusinessType
.
INSERT
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/
create
"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/
add
"
)
public
R
<
String
>
create
(
@Validated
@RequestBody
SystemReviewTaskCreateRequest
request
)
{
public
R
<
String
>
create
(
@Validated
@RequestBody
SystemReviewTaskCreateRequest
request
)
{
systemReviewTaskService
.
createTaskTest
(
request
);
systemReviewTaskService
.
createTaskTest
(
request
);
return
R
.
ok
();
return
R
.
ok
();
...
@@ -46,7 +46,7 @@ public class SystemReviewTaskController extends BaseController {
...
@@ -46,7 +46,7 @@ public class SystemReviewTaskController extends BaseController {
@ApiOperation
(
"查看体系审查任务详情"
)
@ApiOperation
(
"查看体系审查任务详情"
)
@Trace
@Trace
@Tags
({
@Tag
(
key
=
"param"
,
value
=
"arg[0]"
),
@Tag
(
key
=
"result"
,
value
=
"returnedObj"
)})
@Tags
({
@Tag
(
key
=
"param"
,
value
=
"arg[0]"
),
@Tag
(
key
=
"result"
,
value
=
"returnedObj"
)})
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/
view
"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/
getById
"
)
public
R
<
SystemReviewTaskViewResponse
>
view
(
@Validated
@RequestBody
SystemReviewTaskViewRequest
request
)
{
public
R
<
SystemReviewTaskViewResponse
>
view
(
@Validated
@RequestBody
SystemReviewTaskViewRequest
request
)
{
SystemReviewTaskViewResponse
systemReviewTaskViewResponse
=
systemReviewTaskService
.
view
(
request
.
getTaskId
());
SystemReviewTaskViewResponse
systemReviewTaskViewResponse
=
systemReviewTaskService
.
view
(
request
.
getTaskId
());
return
R
.
ok
(
systemReviewTaskViewResponse
);
return
R
.
ok
(
systemReviewTaskViewResponse
);
...
...
quality-review/src/main/java/com/ruoyi/web/TaskController.java
View file @
7ceda232
...
@@ -55,7 +55,7 @@ public class TaskController extends BaseController {
...
@@ -55,7 +55,7 @@ public class TaskController extends BaseController {
@Trace
@Trace
@Tags
({
@Tag
(
key
=
"param"
,
value
=
"arg[0]"
),
@Tag
(
key
=
"result"
,
value
=
"returnedObj"
)})
@Tags
({
@Tag
(
key
=
"param"
,
value
=
"arg[0]"
),
@Tag
(
key
=
"result"
,
value
=
"returnedObj"
)})
@Log
(
title
=
"总任务"
,
businessType
=
BusinessType
.
INSERT
)
@Log
(
title
=
"总任务"
,
businessType
=
BusinessType
.
INSERT
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/
createTask
"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/
add
"
)
public
R
<
String
>
createTask
(
@Validated
@RequestBody
TaskCreateRequest
request
)
{
public
R
<
String
>
createTask
(
@Validated
@RequestBody
TaskCreateRequest
request
)
{
taskService
.
createTask
(
request
);
taskService
.
createTask
(
request
);
return
R
.
ok
();
return
R
.
ok
();
...
@@ -64,7 +64,7 @@ public class TaskController extends BaseController {
...
@@ -64,7 +64,7 @@ public class TaskController extends BaseController {
@ApiOperation
(
"查看任务详情"
)
@ApiOperation
(
"查看任务详情"
)
@Trace
@Trace
@Tags
({
@Tag
(
key
=
"param"
,
value
=
"arg[0]"
),
@Tag
(
key
=
"result"
,
value
=
"returnedObj"
)})
@Tags
({
@Tag
(
key
=
"param"
,
value
=
"arg[0]"
),
@Tag
(
key
=
"result"
,
value
=
"returnedObj"
)})
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/get
Info
"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/get
ById
"
)
public
R
<
TaskGetInfoResponse
>
getInfo
(
@Validated
@RequestBody
TaskGetInfoRequest
request
)
{
public
R
<
TaskGetInfoResponse
>
getInfo
(
@Validated
@RequestBody
TaskGetInfoRequest
request
)
{
TaskGetInfoResponse
response
=
taskService
.
getInfo
(
request
);
TaskGetInfoResponse
response
=
taskService
.
getInfo
(
request
);
...
@@ -112,7 +112,7 @@ public class TaskController extends BaseController {
...
@@ -112,7 +112,7 @@ public class TaskController extends BaseController {
@Trace
@Trace
@Tags
({
@Tag
(
key
=
"param"
,
value
=
"arg[0]"
),
@Tag
(
key
=
"result"
,
value
=
"returnedObj"
)})
@Tags
({
@Tag
(
key
=
"param"
,
value
=
"arg[0]"
),
@Tag
(
key
=
"result"
,
value
=
"returnedObj"
)})
@Log
(
title
=
"编辑任务"
,
businessType
=
BusinessType
.
UPDATE
)
@Log
(
title
=
"编辑任务"
,
businessType
=
BusinessType
.
UPDATE
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/edit
Task
"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/edit"
)
public
R
<
String
>
editTask
(
@Validated
@RequestBody
TaskEditRequest
request
)
{
public
R
<
String
>
editTask
(
@Validated
@RequestBody
TaskEditRequest
request
)
{
taskService
.
editTask
(
request
);
taskService
.
editTask
(
request
);
return
R
.
ok
();
return
R
.
ok
();
...
@@ -122,7 +122,7 @@ public class TaskController extends BaseController {
...
@@ -122,7 +122,7 @@ public class TaskController extends BaseController {
@Trace
@Trace
@Tags
({
@Tag
(
key
=
"param"
,
value
=
"arg[0]"
),
@Tag
(
key
=
"result"
,
value
=
"returnedObj"
)})
@Tags
({
@Tag
(
key
=
"param"
,
value
=
"arg[0]"
),
@Tag
(
key
=
"result"
,
value
=
"returnedObj"
)})
@Log
(
title
=
"删除任务"
,
businessType
=
BusinessType
.
DELETE
)
@Log
(
title
=
"删除任务"
,
businessType
=
BusinessType
.
DELETE
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/
deleteTask
"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/
remove
"
)
public
R
<
String
>
deleteTask
(
@Validated
@RequestBody
TaskDeleteRequest
request
)
{
public
R
<
String
>
deleteTask
(
@Validated
@RequestBody
TaskDeleteRequest
request
)
{
taskService
.
deleteTask
(
request
);
taskService
.
deleteTask
(
request
);
return
R
.
ok
();
return
R
.
ok
();
...
...
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