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
304e4f22
Commit
304e4f22
authored
Feb 18, 2024
by
王飞
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1、删除无用字段
parent
270582c7
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
32 additions
and
4 deletions
+32
-4
MatrixColumnVO.java
...iew/src/main/java/com/ruoyi/domain/vo/MatrixColumnVO.java
+0
-3
MatrixServiceImpl.java
...c/main/java/com/ruoyi/service/impl/MatrixServiceImpl.java
+1
-1
MatrixController.java
...-review/src/main/java/com/ruoyi/web/MatrixController.java
+31
-0
No files found.
quality-review/src/main/java/com/ruoyi/domain/vo/MatrixColumnVO.java
View file @
304e4f22
...
...
@@ -17,7 +17,4 @@ public class MatrixColumnVO {
@ApiModelProperty
(
"列名称"
)
private
String
title
;
@ApiModelProperty
(
"用例id;没有用例则为null"
)
private
Long
useCaseId
;
}
quality-review/src/main/java/com/ruoyi/service/impl/MatrixServiceImpl.java
View file @
304e4f22
...
...
@@ -52,7 +52,7 @@ public class MatrixServiceImpl implements MatrixService {
List
<
MatrixColumnVO
>
columns
=
new
ArrayList
();
for
(
TestType
type
:
types
)
{
MatrixColumnVO
column
=
new
MatrixColumnVO
(
type
.
getId
(),
type
.
getTestType
()
,
null
);
MatrixColumnVO
column
=
new
MatrixColumnVO
(
type
.
getId
(),
type
.
getTestType
());
columns
.
add
(
column
);
}
...
...
quality-review/src/main/java/com/ruoyi/web/MatrixController.java
0 → 100644
View file @
304e4f22
package
com
.
ruoyi
.
web
;
import
com.ruoyi.common.core.domain.R
;
import
com.ruoyi.service.MatrixService
;
import
com.ruoyi.web.response.MatrixResponse
;
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.RequestMapping
;
import
org.springframework.web.bind.annotation.RequestMethod
;
import
org.springframework.web.bind.annotation.RestController
;
@Api
(
tags
=
"审查细则的审查结果"
)
@RestController
@RequestMapping
(
"/usecase/matrix"
)
public
class
MatrixController
{
@Autowired
private
MatrixService
matrixService
;
@ApiOperation
(
"查看任务详情"
)
@Trace
@Tags
({
@Tag
(
key
=
"param"
,
value
=
"arg[0]"
),
@Tag
(
key
=
"result"
,
value
=
"returnedObj"
)})
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/getInfo"
)
public
R
<
MatrixResponse
>
getInfo
()
{
return
R
.
ok
(
matrixService
.
getMatrix
());
}
}
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