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
11b8ee97
Commit
11b8ee97
authored
Jan 10, 2024
by
王飞
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'wangfei' into 'dev'
Refactor See merge request
!41
parents
795b567d
154a9d95
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
27 additions
and
4 deletions
+27
-4
CarReviewTask.java
...-review/src/main/java/com/ruoyi/domain/CarReviewTask.java
+5
-2
CarReviewTaskViewResponse.java
...ava/com/ruoyi/web/response/CarReviewTaskViewResponse.java
+22
-2
No files found.
quality-review/src/main/java/com/ruoyi/domain/CarReviewTask.java
View file @
11b8ee97
...
@@ -6,8 +6,10 @@ import com.baomidou.mybatisplus.annotation.TableId;
...
@@ -6,8 +6,10 @@ import com.baomidou.mybatisplus.annotation.TableId;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
java.io.Serializable
;
import
java.io.Serializable
;
import
java.util.Date
;
import
java.util.Date
;
import
java.util.List
;
import
com.fasterxml.jackson.annotation.JsonFormat
;
import
com.fasterxml.jackson.annotation.JsonFormat
;
import
com.ruoyi.common.StandardJsonTypeHandler
;
import
io.swagger.annotations.ApiModelProperty
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
lombok.Data
;
import
lombok.experimental.Accessors
;
import
lombok.experimental.Accessors
;
...
@@ -16,7 +18,7 @@ import lombok.experimental.Accessors;
...
@@ -16,7 +18,7 @@ import lombok.experimental.Accessors;
* 车型审查任务
* 车型审查任务
* @TableName t_car_review_task
* @TableName t_car_review_task
*/
*/
@TableName
(
value
=
"t_car_review_task"
)
@TableName
(
value
=
"t_car_review_task"
,
autoResultMap
=
true
)
@Accessors
(
chain
=
true
)
@Accessors
(
chain
=
true
)
@Data
@Data
public
class
CarReviewTask
implements
Serializable
{
public
class
CarReviewTask
implements
Serializable
{
...
@@ -101,7 +103,8 @@ public class CarReviewTask implements Serializable {
...
@@ -101,7 +103,8 @@ public class CarReviewTask implements Serializable {
* 审查标准
* 审查标准
*/
*/
@ApiModelProperty
(
"审查标准"
)
@ApiModelProperty
(
"审查标准"
)
private
Object
standard
;
@TableField
(
value
=
"standard"
,
typeHandler
=
StandardJsonTypeHandler
.
class
)
private
List
<
ReviewStandard
>
standard
;
/**
/**
* 占位(开发人员根据具体业务自行增加业务字段)
* 占位(开发人员根据具体业务自行增加业务字段)
...
...
quality-review/src/main/java/com/ruoyi/web/response/CarReviewTaskViewResponse.java
View file @
11b8ee97
package
com
.
ruoyi
.
web
.
response
;
package
com
.
ruoyi
.
web
.
response
;
import
com.ruoyi.domain.CarReviewTask
;
import
com.ruoyi.domain.*
;
import
com.ruoyi.domain.ReviewSceneChangeTask
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
lombok.Data
;
import
java.util.ArrayList
;
import
java.util.List
;
import
java.util.List
;
@ApiModel
(
value
=
"CarReviewTaskViewResponse"
,
description
=
"查询车辆审查任务详情响应体"
)
@ApiModel
(
value
=
"CarReviewTaskViewResponse"
,
description
=
"查询车辆审查任务详情响应体"
)
...
@@ -23,4 +23,24 @@ public class CarReviewTaskViewResponse {
...
@@ -23,4 +23,24 @@ public class CarReviewTaskViewResponse {
*/
*/
@ApiModelProperty
(
"任务开始后的场景变更信息"
)
@ApiModelProperty
(
"任务开始后的场景变更信息"
)
private
List
<
ReviewSceneChangeTask
>
reviewSceneChangeTasks
;
private
List
<
ReviewSceneChangeTask
>
reviewSceneChangeTasks
;
/**
*
* @return
*/
@ApiModelProperty
(
"细则列表"
)
public
List
<
ReviewDetails
>
getDetailsList
()
{
List
<
ReviewDetails
>
detailsList
=
new
ArrayList
();
for
(
ReviewStandard
standard
:
carReviewTask
.
getStandard
())
{
for
(
ReviewKeyPoint
keyPoint
:
standard
.
getKeyPointList
())
{
for
(
ReviewDetails
details
:
keyPoint
.
getReviewDetailsList
())
{
detailsList
.
add
(
details
);
}
}
}
return
detailsList
;
}
}
}
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