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 1f330549
authored
Feb 22, 2022
by
yangll
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改车辆所属组织 同步围栏数据到大数据
1 parent
96f7d908
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
src/main/java/cn/com/glsx/admin/modules/service/VehicleService.java
src/main/java/cn/com/glsx/admin/modules/service/VehicleService.java
View file @
1f33054
...
@@ -1308,6 +1308,13 @@ public class VehicleService {
...
@@ -1308,6 +1308,13 @@ public class VehicleService {
workOrderVehicle
.
setVin
(
vehicleInfoVo
.
getVin
());
workOrderVehicle
.
setVin
(
vehicleInfoVo
.
getVin
());
workOrderVehicleMapper
.
updateByPrimaryKeySelective
(
workOrderVehicle
);
workOrderVehicleMapper
.
updateByPrimaryKeySelective
(
workOrderVehicle
);
}
}
// 如果所属组织发生改变 同步修改同步围栏数据到大数据
if
(
dbVehicle
.
getCreatedBy
()
!=
Long
.
parseLong
(
userId
))
{
// 同步更新原先组织的围栏数据到大数据
fenceService
.
syncUsersFencesSns
(
Lists
.
newArrayList
(
dbVehicle
.
getCreatedBy
()));
// 再同步最新的围栏数据到大数据
fenceService
.
syncUsersFencesSns
(
Lists
.
newArrayList
(
Long
.
parseLong
(
userId
)));
}
// 绑定设备
// 绑定设备
List
<
DeviceInfoDto
>
deviceInfoDtos
=
vehicleInfoVo
.
getDeviceInfoDtos
();
List
<
DeviceInfoDto
>
deviceInfoDtos
=
vehicleInfoVo
.
getDeviceInfoDtos
();
...
...
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