放开测试时候注释掉的操作日志保存接口

This commit is contained in:
hecan 2024-06-24 17:44:13 +08:00
parent 6cdbd049a7
commit 2ae7391e65
1 changed files with 2 additions and 2 deletions

View File

@ -272,7 +272,7 @@ public class ComparisonServiceImpl extends BaseService<ComparisonEntity, String>
}
list.add(jsonObjectList);
//保存操作日志
// controlsLogDaoimpl.saveControlsLog(uuid,jsonObject.getString("appName"),jsonObject.getString("appCode"),jsonObject.toJSONString(),"接口新增",jsonObject.getString("optionName"),comparisonEntityRule.getDbName()+"_option_log");
controlsLogDaoimpl.saveControlsLog(uuid,jsonObject.getString("appName"),jsonObject.getString("appCode"),jsonObject.toJSONString(),"接口新增",jsonObject.getString("optionName"),comparisonEntityRule.getDbName()+"_option_log");
return BaseResult.getSuccessMessageEntity("保存成功", list);
} catch (Exception e) {
logger.info("保存通用数据时候错误:{}", e.getMessage());
@ -398,7 +398,7 @@ public class ComparisonServiceImpl extends BaseService<ComparisonEntity, String>
}
jsonObjects.add(jsonObjectList);
//保存操作日志
// controlsLogDaoimpl.saveControlsLog(comparisonEntity.getId(),jsonObject.getString("appName"),jsonObject.getString("appCode"),jsonObject.toJSONString(),"接口更新",jsonObject.getString("optionName"),comparisonEntity.getDbName()+"_option_log");
controlsLogDaoimpl.saveControlsLog(comparisonEntity.getId(),jsonObject.getString("appName"),jsonObject.getString("appCode"),jsonObject.toJSONString(),"接口更新",jsonObject.getString("optionName"),comparisonEntity.getDbName()+"_option_log");
return BaseResult.getSuccessMessageEntity("更新成功", jsonObjects);
}else{
return BaseResult.getFailureMessageEntity("更新失败");