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 600ad7f6
authored
Feb 24, 2022
by
yangll
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
工单校验接口中返回设备型号
1 parent
48492221
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
0 deletions
src/main/java/cn/com/glsx/admin/modules/model/DeviceVerifyDTO.java
src/main/java/cn/com/glsx/admin/modules/service/WorkOrderService.java
src/main/java/cn/com/glsx/admin/modules/model/DeviceVerifyDTO.java
View file @
600ad7f
...
@@ -34,4 +34,9 @@ public class DeviceVerifyDTO {
...
@@ -34,4 +34,9 @@ public class DeviceVerifyDTO {
* 车辆验证定位数据
* 车辆验证定位数据
*/
*/
private
GpsBsData
gpsBsData
;
private
GpsBsData
gpsBsData
;
/**
* 设备类型
*/
private
String
deviceClassifyName
;
}
}
src/main/java/cn/com/glsx/admin/modules/service/WorkOrderService.java
View file @
600ad7f
...
@@ -103,6 +103,9 @@ public class WorkOrderService {
...
@@ -103,6 +103,9 @@ public class WorkOrderService {
@Autowired
@Autowired
private
RemoteNotifyCenterService
notifyCenterService
;
private
RemoteNotifyCenterService
notifyCenterService
;
@Autowired
private
DeviceService
deviceService
;
public
PageInfo
<
WorkOrderDTO
>
search
(
WorkOrderSearch
search
)
{
public
PageInfo
<
WorkOrderDTO
>
search
(
WorkOrderSearch
search
)
{
if
(
search
.
getOrgId
()
!=
null
)
{
if
(
search
.
getOrgId
()
!=
null
)
{
...
@@ -497,6 +500,8 @@ public class WorkOrderService {
...
@@ -497,6 +500,8 @@ public class WorkOrderService {
vin
=
woVehicle
.
getVin
();
vin
=
woVehicle
.
getVin
();
}
}
}
}
String
deviceModelBySn
=
deviceService
.
getDeviceModelBySn
(
gbd
.
getSn
());
verifyDTO
.
setDeviceClassifyName
(
deviceModelBySn
);
verifyDTO
.
setVin
(
vin
);
verifyDTO
.
setVin
(
vin
);
verifyDTO
.
setOwnerName
(
ownerName
);
verifyDTO
.
setOwnerName
(
ownerName
);
verifyDTO
.
setGpsBsData
(
gbd
);
verifyDTO
.
setGpsBsData
(
gbd
);
...
...
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