Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
car-database-api
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
中汽研标准应用数据库
car-database-api
Commits
6618d1eb
Commit
6618d1eb
authored
Sep 02, 2024
by
wdy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
requestBody
parent
2f8742a7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
TestPlanRecordController.java
...src/main/java/com/ruoyi/web/TestPlanRecordController.java
+2
-1
No files found.
quality-review/src/main/java/com/ruoyi/web/TestPlanRecordController.java
View file @
6618d1eb
...
@@ -15,7 +15,6 @@ import com.ruoyi.web.request.TestPlanRecordGetInfoRequest;
...
@@ -15,7 +15,6 @@ import com.ruoyi.web.request.TestPlanRecordGetInfoRequest;
import
com.ruoyi.web.request.TestPlanRecordPageRequest
;
import
com.ruoyi.web.request.TestPlanRecordPageRequest
;
import
io.swagger.annotations.Api
;
import
io.swagger.annotations.Api
;
import
io.swagger.annotations.ApiOperation
;
import
io.swagger.annotations.ApiOperation
;
import
io.swagger.v3.oas.annotations.parameters.RequestBody
;
import
okhttp3.*
;
import
okhttp3.*
;
import
org.apache.skywalking.apm.toolkit.trace.Tag
;
import
org.apache.skywalking.apm.toolkit.trace.Tag
;
import
org.apache.skywalking.apm.toolkit.trace.Tags
;
import
org.apache.skywalking.apm.toolkit.trace.Tags
;
...
@@ -24,6 +23,7 @@ import org.springframework.beans.factory.annotation.Autowired;
...
@@ -24,6 +23,7 @@ import org.springframework.beans.factory.annotation.Autowired;
import
org.springframework.validation.annotation.Validated
;
import
org.springframework.validation.annotation.Validated
;
import
org.springframework.web.bind.annotation.*
;
import
org.springframework.web.bind.annotation.*
;
import
com.ruoyi.common.core.controller.BaseController
;
import
com.ruoyi.common.core.controller.BaseController
;
import
org.springframework.web.bind.annotation.RequestBody
;
import
java.io.IOException
;
import
java.io.IOException
;
import
java.util.List
;
import
java.util.List
;
...
@@ -63,6 +63,7 @@ public class TestPlanRecordController extends BaseController{
...
@@ -63,6 +63,7 @@ public class TestPlanRecordController extends BaseController{
@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
=
"/standard"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/standard"
)
public
R
<
List
<
ReviewStandard
>>
selectStandarDetails
(
@Validated
@RequestBody
PlanDetailStandardRequest
planDetailStandardRequest
){
public
R
<
List
<
ReviewStandard
>>
selectStandarDetails
(
@Validated
@RequestBody
PlanDetailStandardRequest
planDetailStandardRequest
){
System
.
out
.
println
(
"planDetailStandardRequest = "
+
planDetailStandardRequest
);
List
<
ReviewStandard
>
tree
=
reviewStandardService
.
findTree
(
planDetailStandardRequest
.
getInspectionStandardId
(),
planDetailStandardRequest
.
getType
());
List
<
ReviewStandard
>
tree
=
reviewStandardService
.
findTree
(
planDetailStandardRequest
.
getInspectionStandardId
(),
planDetailStandardRequest
.
getType
());
return
R
.
ok
(
tree
);
return
R
.
ok
(
tree
);
}
}
...
...
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