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
97fd58c1
Commit
97fd58c1
authored
Mar 07, 2024
by
wdy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
暂存查询
parent
af6e25fc
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
63 additions
and
0 deletions
+63
-0
ReviewKeyPointController.java
...src/main/java/com/ruoyi/web/ReviewKeyPointController.java
+38
-0
KeyPointFindListRequest.java
...n/java/com/ruoyi/web/request/KeyPointFindListRequest.java
+25
-0
No files found.
quality-review/src/main/java/com/ruoyi/web/ReviewKeyPointController.java
0 → 100644
View file @
97fd58c1
package
com
.
ruoyi
.
web
;
import
com.ruoyi.common.core.controller.BaseController
;
import
com.ruoyi.common.core.page.TableDataInfo
;
import
com.ruoyi.domain.ReviewStandard
;
import
com.ruoyi.service.ReviewKeyPointService
;
import
com.ruoyi.web.request.KeyPointFindListRequest
;
import
com.ruoyi.web.request.TaskFindPendingRequest
;
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.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
;
@Api
(
tags
=
"审查要点"
)
@RestController
@RequestMapping
(
"/review/keypoint"
)
public
class
ReviewKeyPointController
extends
BaseController
{
@Autowired
private
ReviewKeyPointService
reviewKeyPointService
;
@ApiOperation
(
"查询审查要点"
)
@Trace
@Tags
({
@Tag
(
key
=
"param"
,
value
=
"arg[0]"
),
@Tag
(
key
=
"result"
,
value
=
"returnedObj"
)})
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/findKeyPointList"
)
public
TableDataInfo
<
ReviewStandard
>
findKeyPointList
(
@Validated
@RequestBody
KeyPointFindListRequest
request
)
{
// return getDataTable(reviewKeyPointService.findKeyPointList(request));
return
null
;
}
}
quality-review/src/main/java/com/ruoyi/web/request/KeyPointFindListRequest.java
0 → 100644
View file @
97fd58c1
package
com
.
ruoyi
.
web
.
request
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
javax.validation.constraints.NotEmpty
;
import
javax.validation.constraints.NotNull
;
@ApiModel
(
value
=
"KeyPointFindListRequest"
,
description
=
"查询审查要点"
)
@Data
public
class
KeyPointFindListRequest
{
@ApiModelProperty
(
"审查要点"
)
private
String
text
;
@ApiModelProperty
(
"总标准ID"
)
@NotNull
(
message
=
"总标准ID不能为空"
)
private
Long
standardId
;
@ApiModelProperty
(
"标准类型[system、car、test]"
)
@NotNull
(
message
=
"标准类型不能为空"
)
@NotEmpty
(
message
=
"标准类型不能为空"
)
private
String
type
;
}
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