Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
eshiled-new
/
ne-shield-standard-interfaces
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
1
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 1dfc6332
authored
Dec 29, 2021
by
杨林龙
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
添加日志打印信息
1 parent
f281a9b2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
11 deletions
src/main/java/cn/com/glsx/stdinterface/modules/service/DeviceLocationService.java
src/main/java/cn/com/glsx/stdinterface/modules/service/DeviceLocationService.java
View file @
1dfc633
...
...
@@ -36,21 +36,11 @@ public class DeviceLocationService {
Integer
num
=
deviceLocationMapper
.
saveOrUpdateDeviceLocationData
(
deviceLocationDtoList
);
log
.
info
(
"saveOrUpdateDeviceLocationData==="
+
num
);
}
catch
(
Exception
e
)
{
log
.
error
(
"saveOrUpdateDeviceLocationData==="
+
e
.
getMessage
());
e
.
printStackTrace
();
}
}
private
void
mergeData
(
DeviceLocation
locationBySn
,
DeviceLocationDto
deviceLocationDto
)
{
if
(
ObjectUtil
.
isNotEmpty
(
deviceLocationDto
.
getLastGpsTime
()))
{
locationBySn
.
setLastGpsTime
(
deviceLocationDto
.
getLastGpsTime
());
}
if
(
ObjectUtil
.
isNotEmpty
(
deviceLocationDto
.
getLastBsTime
()))
{
locationBySn
.
setLastBsTime
(
deviceLocationDto
.
getLastBsTime
());
}
locationBySn
.
setUpdatedTime
(
new
Date
());
}
/**
* 获取E盾中的所有设备号集合
*
...
...
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