Commit 4a29665f authored by lisong's avatar lisong

更新设备时去除instanceId

parent ed33a47f
...@@ -116,6 +116,7 @@ public class JgUseRegistrationServiceImpl extends BaseService<JgUseRegistrationD ...@@ -116,6 +116,7 @@ public class JgUseRegistrationServiceImpl extends BaseService<JgUseRegistrationD
JgRegistrationHistory jgRegistrationHistory = jgRegistrationHistoryService.getBaseMapper().selectOne(lambdaSelect); JgRegistrationHistory jgRegistrationHistory = jgRegistrationHistoryService.getBaseMapper().selectOne(lambdaSelect);
JSONObject map = JSONObject.parseObject(jgRegistrationHistory.getChangeData()); JSONObject map = JSONObject.parseObject(jgRegistrationHistory.getChangeData());
map.remove("status"); map.remove("status");
map.remove("instanceId");
// 安全管理员 // 安全管理员
if (map.containsKey("safetyManagerName")){ if (map.containsKey("safetyManagerName")){
map.put("safetyManager", map.get("safetyManagerName")); map.put("safetyManager", map.get("safetyManagerName"));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment