Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
usedCarAuction
/
aus
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit bba25fb2
authored
Mar 26, 2026
by
杨卫
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
feat: 检测详情添加事故字段
1 parent
68bbf4d6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
0 deletions
aus-core/src/main/java/com/glsx/usedcar/module/inspect/service/InspectionRecordService.java
aus-core/src/main/java/com/glsx/usedcar/module/inspect/vo/InspectionDetailRespVO.java
aus-core/src/main/java/com/glsx/usedcar/module/inspect/service/InspectionRecordService.java
View file @
bba25fb
...
...
@@ -722,6 +722,10 @@ public class InspectionRecordService {
.
orElseThrow
(()
->
new
BusinessCodeException
(
ErrorCodeEnum
.
DATA_NOT_EXISTS
,
taskId
,
"检测工单"
));
Vehicle
vehicle
=
inspectionWorkOrder
.
getVehicle
();
// 8. 事故
AccidentBurnWadeDTO
accidentBurnWadeDTO
=
getAccidentBurnWadeDTO
(
recordId
);
return
InspectionDetailRespVO
.
builder
()
.
id
(
recordId
)
.
taskId
(
taskId
)
...
...
@@ -729,6 +733,9 @@ public class InspectionRecordService {
.
inspectionScoreVO
(
scoreVO
)
.
albums
(
vehicle
.
getAlbums
())
.
inspectionNodeList
(
detailNodes
)
.
wade
(
accidentBurnWadeDTO
.
getWade
())
.
burn
(
accidentBurnWadeDTO
.
getBurn
())
.
accident
(
accidentBurnWadeDTO
.
getAccident
())
.
mileage
(
baseInfoMap
.
get
(
InspectionBaseInfoFieldEnum
.
MILEAGE
.
getCode
()))
.
inspectionCompletedTime
(
inspectionWorkOrder
.
getInspectionCompletedTime
())
.
displacement
(
baseInfoMap
.
get
(
InspectionBaseInfoFieldEnum
.
DISPLACEMENT
.
getCode
()))
...
...
aus-core/src/main/java/com/glsx/usedcar/module/inspect/vo/InspectionDetailRespVO.java
View file @
bba25fb
...
...
@@ -87,6 +87,24 @@ public class InspectionDetailRespVO implements Serializable {
@Schema
(
description
=
"尾气工况视频"
)
private
String
tailGasConditionVideo
;
/**
* 是否有事故 0 否 1 是
*/
@Schema
(
description
=
"是否有事故 0 否 1 是"
,
example
=
"0"
)
private
String
accident
;
/**
* 是否有火烧 0 否 1 是
*/
@Schema
(
description
=
"是否有火烧 0 否 1 是"
,
example
=
"0"
)
private
String
burn
;
/**
* 是否有涉水 0 否 1 是
*/
@Schema
(
description
=
"是否有涉水 0 否 1 是"
,
example
=
"0"
)
private
String
wade
;
@Schema
(
description
=
"评分评级"
)
private
InspectionScoreVO
inspectionScoreVO
;
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment