提交 7b837aff 编写于 作者: hebao@lab.ibiz5.com's avatar hebao@lab.ibiz5.com

构建结果保存到关系数据库性能优化

上级 1d43bb29
...@@ -94,17 +94,17 @@ public class AnalyseSqlServiceImpl extends BaseEntityServiceImpl { ...@@ -94,17 +94,17 @@ public class AnalyseSqlServiceImpl extends BaseEntityServiceImpl {
result.setDomainsField(DOMAINSFIELD.getValue(String.class, "")); result.setDomainsField(DOMAINSFIELD.getValue(String.class, ""));
result.setSystemId(DataObject.getStringValue(param.get("systemid"),null)); result.setSystemId(DataObject.getStringValue(param.get("systemid"),null));
Object resultDataSource = Default_ResultDataSource; // Object resultDataSource = Default_ResultDataSource;
Object resultTableName = Default_ResultTableName; // Object resultTableName = Default_ResultTableName;
if(param.get("resultDataSource")!=null){ // if(param.get("resultDataSource")!=null){
resultDataSource = param.get("resultDataSource"); // resultDataSource = param.get("resultDataSource");
} // }
if(param.get("resultTableName")!=null){ // if(param.get("resultTableName")!=null){
resultTableName = param.get("resultTableName"); // resultTableName = param.get("resultTableName");
} // }
result.set(Tag_EngineId,param.get(Tag_EngineId)); // result.set(Tag_EngineId,param.get(Tag_EngineId));
result.set("resultDataSource", resultDataSource); // result.set("resultDataSource", resultDataSource);
result.set("resultTableName", resultTableName); // result.set("resultTableName", resultTableName);
if((!StringUtils.isEmpty(result.getRuleId()))&&(!StringUtils.isEmpty(result.getKeyValueField()))) { if((!StringUtils.isEmpty(result.getRuleId()))&&(!StringUtils.isEmpty(result.getKeyValueField()))) {
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册