提交 f9f384d0 authored 作者: junjie's avatar junjie

feat(backend):fix

上级 6aab3097
...@@ -205,9 +205,9 @@ public class ChartViewService { ...@@ -205,9 +205,9 @@ public class ChartViewService {
} }
private void checkName(ChartViewWithBLOBs chartView) { private void checkName(ChartViewWithBLOBs chartView) {
if (StringUtils.isEmpty(chartView.getId())) { // if (StringUtils.isEmpty(chartView.getId())) {
return; // return;
} // }
ChartViewExample chartViewExample = new ChartViewExample(); ChartViewExample chartViewExample = new ChartViewExample();
ChartViewExample.Criteria criteria = chartViewExample.createCriteria(); ChartViewExample.Criteria criteria = chartViewExample.createCriteria();
if (StringUtils.isNotEmpty(chartView.getId())) { if (StringUtils.isNotEmpty(chartView.getId())) {
......
...@@ -595,9 +595,9 @@ public class DataSetTableService { ...@@ -595,9 +595,9 @@ public class DataSetTableService {
} }
private void checkName(DatasetTable datasetTable) { private void checkName(DatasetTable datasetTable) {
if (StringUtils.isEmpty(datasetTable.getId()) && StringUtils.equalsIgnoreCase("db", datasetTable.getType())) { // if (StringUtils.isEmpty(datasetTable.getId()) && StringUtils.equalsIgnoreCase("db", datasetTable.getType())) {
return; // return;
} // }
DatasetTableExample datasetTableExample = new DatasetTableExample(); DatasetTableExample datasetTableExample = new DatasetTableExample();
DatasetTableExample.Criteria criteria = datasetTableExample.createCriteria(); DatasetTableExample.Criteria criteria = datasetTableExample.createCriteria();
if (StringUtils.isNotEmpty(datasetTable.getId())) { if (StringUtils.isNotEmpty(datasetTable.getId())) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论