|
|
|
@ -73,6 +73,7 @@ public class PermissionClientModulesServiceImpl implements PermissionClientModul
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void saveMongoLog(JSONObject account, JSONObject oldRecord, JSONObject modifyData, String business) {
|
|
|
|
|
try {
|
|
|
|
|
modifyData.remove("id");
|
|
|
|
|
PermissionClientModuleLog mongoRecord = new PermissionClientModuleLog();
|
|
|
|
|
mongoRecord.setBusiness(business);
|
|
|
|
@ -86,5 +87,7 @@ public class PermissionClientModulesServiceImpl implements PermissionClientModul
|
|
|
|
|
Map<String, Object> beforeModify = modifyData.keySet().stream().collect(Collectors.toMap(key -> key, oldRecord::get));
|
|
|
|
|
mongoRecord.setOriginData(JSON.toJSONString(beforeModify));
|
|
|
|
|
mongoTemplate.insert(mongoRecord);
|
|
|
|
|
}catch (Exception ignore){
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|