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
9da69be9
Commit
9da69be9
authored
Jan 09, 2024
by
高滢
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改请求方式
parent
ac1de972
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
9 deletions
+10
-9
ReviewTaskUserRelationController.java
.../java/com/ruoyi/web/ReviewTaskUserRelationController.java
+10
-9
No files found.
quality-review/src/main/java/com/ruoyi/web/ReviewTaskUserRelationController.java
View file @
9da69be9
...
...
@@ -4,17 +4,17 @@ import com.ruoyi.common.annotation.Log;
import
com.ruoyi.common.core.controller.BaseController
;
import
com.ruoyi.common.core.domain.R
;
import
com.ruoyi.domain.ReviewTaskUserRelation
;
import
com.ruoyi.service.ReviewTaskUserRelationService
;
import
com.ruoyi.service.impl.ReviewTaskUserRelationServiceImpl
;
import
com.ruoyi.web.request.AutomobileEnterpriseGetInfoRequest
;
import
io.swagger.annotations.Api
;
import
io.swagger.annotations.ApiOperation
;
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.web.bind.annotation.PathVariable
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RequestMethod
;
import
org.springframework.web.bind.annotation.RestController
;
import
org.springframework.validation.annotation.Validated
;
import
org.springframework.web.bind.annotation.*
;
import
java.util.List
;
...
...
@@ -25,18 +25,19 @@ import java.util.List;
public
class
ReviewTaskUserRelationController
extends
BaseController
{
@Autowired
ReviewTaskUserRelationService
Impl
reviewTaskUserRelationService
;
ReviewTaskUserRelationService
reviewTaskUserRelationService
;
/**
* 根据任务id查询小组成员
* @param taskId
* @return
*/
@ApiOperation
(
"根据任务Id查询任务组成员"
)
@RequestMapping
(
method
=
RequestMethod
.
GET
,
value
=
"/members/{taskId}"
)
public
R
<
List
<
ReviewTaskUserRelation
>>
selectQTeamMemberList
(
@PathVariable
Long
taskId
){
List
<
ReviewTaskUserRelation
>
list
=
reviewTaskUserRelationService
.
selectQTeamMembers
(
taskId
);
@Trace
@Tags
({
@Tag
(
key
=
"param"
,
value
=
"arg[0]"
),
@Tag
(
key
=
"result"
,
value
=
"returnedObj"
)})
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/members"
)
public
R
<
List
<
ReviewTaskUserRelation
>>
selectQTeamMemberList
(
@Validated
@RequestBody
ReviewTaskUserRelation
request
){
List
<
ReviewTaskUserRelation
>
list
=
reviewTaskUserRelationService
.
selectQTeamMembers
(
request
.
getTaskId
());
return
R
.
ok
(
list
);
}
...
...
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