|
@@ -83,6 +83,7 @@ public class DeviceSyncFromIotService {
|
|
|
HashMap<String, Object> map = new HashMap<>();
|
|
HashMap<String, Object> map = new HashMap<>();
|
|
|
map.put("lastOnlineTime", param.getLastOnlineTime());
|
|
map.put("lastOnlineTime", param.getLastOnlineTime());
|
|
|
map.put("onLineState", param.getOnLineState());
|
|
map.put("onLineState", param.getOnLineState());
|
|
|
|
|
+ map.put("state", param.getState());
|
|
|
map.put("lastOnlineTimeStr", DateUtils.paresTime(param.getLastOnlineTime(), DateUtils.FORMAT_LONG));
|
|
map.put("lastOnlineTimeStr", DateUtils.paresTime(param.getLastOnlineTime(), DateUtils.FORMAT_LONG));
|
|
|
commonService.updateData(where, map, DeviceInfo.class.getSimpleName());
|
|
commonService.updateData(where, map, DeviceInfo.class.getSimpleName());
|
|
|
commonService.updateData(where, map, DeviceBind.class.getSimpleName());
|
|
commonService.updateData(where, map, DeviceBind.class.getSimpleName());
|