Commit 1eabc560 by levphon

设备信息同步

1 parent e6e93c4a
...@@ -20,7 +20,7 @@ public class TrackInfoDTO { ...@@ -20,7 +20,7 @@ public class TrackInfoDTO {
*/ */
private String imei; private String imei;
private String simPhone; 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;
......
...@@ -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());
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!