Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
eshiled-new
/
ne-shield-trialdrive-admin
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 48492221
authored
Feb 24, 2022
by
levphon
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
设备位置点验证返回车主姓名和车架号
1 parent
65e57a0b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
2 deletions
src/main/java/cn/com/glsx/admin/modules/service/WorkOrderService.java
src/main/java/cn/com/glsx/admin/modules/service/WorkOrderService.java
View file @
4849222
...
...
@@ -483,11 +483,22 @@ public class WorkOrderService {
verifyDTO
.
setCheckResult
(
checkFlag
);
if
(
checkFlag
)
{
// 根据工单号获取车辆信息
String
vin
=
""
;
String
ownerName
=
"--"
;
Vehicle
vehicle
=
vehicleMapper
.
selectByOrderId
(
verifyBO
.
getWorkOrderId
());
if
(
vehicle
!=
null
)
{
verifyDTO
.
setOwnerName
(
vehicle
.
getOwnerName
());
verifyDTO
.
setVin
(
vehicle
.
getVin
());
ownerName
=
vehicle
.
getOwnerName
();
vin
=
vehicle
.
getVin
();
}
else
{
//车辆数据还没生成时从工单车辆上取数据
WorkOrderVehicle
woVehicle
=
workOrderVehicleMapper
.
selectOneByOrderId
(
verifyBO
.
getWorkOrderId
());
if
(
woVehicle
!=
null
)
{
ownerName
=
woVehicle
.
getLesseeName
();
vin
=
woVehicle
.
getVin
();
}
}
verifyDTO
.
setVin
(
vin
);
verifyDTO
.
setOwnerName
(
ownerName
);
verifyDTO
.
setGpsBsData
(
gbd
);
}
list
.
add
(
verifyDTO
);
...
...
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