Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
eshiled-new
/
ne-shield-devicemonitor
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 1eabc560
authored
Dec 28, 2021
by
levphon
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
设备信息同步
1 parent
e6e93c4a
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 additions
and
4 deletions
src/main/java/cn/com/glsx/devicemonitor/modules/model/TrackInfoDTO.java
src/main/java/cn/com/glsx/devicemonitor/modules/service/impl/DeviceServiceImpl.java
src/main/java/cn/com/glsx/devicemonitor/modules/model/TrackInfoDTO.java
View file @
1eabc56
...
@@ -20,7 +20,7 @@ public class TrackInfoDTO {
...
@@ -20,7 +20,7 @@ public class TrackInfoDTO {
*/
*/
private
String
imei
;
private
String
imei
;
private
String
sim
Phone
;
private
String
sim
;
private
Integer
isActive
;
private
Integer
isActive
;
...
@@ -30,8 +30,6 @@ public class TrackInfoDTO {
...
@@ -30,8 +30,6 @@ public class TrackInfoDTO {
private
Integer
modelId
;
private
Integer
modelId
;
private
Integer
issub
;
private
Date
createTime
;
private
Date
createTime
;
private
Integer
source
;
private
Integer
source
;
...
...
src/main/java/cn/com/glsx/devicemonitor/modules/service/impl/DeviceServiceImpl.java
View file @
1eabc56
...
@@ -143,7 +143,6 @@ public class DeviceServiceImpl implements DeviceService {
...
@@ -143,7 +143,6 @@ public class DeviceServiceImpl implements DeviceService {
}
}
Device
device
=
new
Device
();
Device
device
=
new
Device
();
BeanUtils
.
copyProperties
(
trackInfo
,
device
);
BeanUtils
.
copyProperties
(
trackInfo
,
device
);
device
.
setSim
(
trackInfo
.
getSimPhone
());
device
.
setManufacturer
(
trackInfo
.
getPartner
());
device
.
setManufacturer
(
trackInfo
.
getPartner
());
device
.
setSource
(
trackInfo
.
getSource
());
device
.
setSource
(
trackInfo
.
getSource
());
device
.
setActivateStatus
(
trackInfo
.
getIsActive
());
device
.
setActivateStatus
(
trackInfo
.
getIsActive
());
...
...
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