feat(backend):fix

This commit is contained in:
junjie 2021-05-20 18:11:32 +08:00
parent 6aab309741
commit f9f384d030
2 changed files with 6 additions and 6 deletions

View File

@ -205,9 +205,9 @@ public class ChartViewService {
}
private void checkName(ChartViewWithBLOBs chartView) {
if (StringUtils.isEmpty(chartView.getId())) {
return;
}
// if (StringUtils.isEmpty(chartView.getId())) {
// return;
// }
ChartViewExample chartViewExample = new ChartViewExample();
ChartViewExample.Criteria criteria = chartViewExample.createCriteria();
if (StringUtils.isNotEmpty(chartView.getId())) {

View File

@ -595,9 +595,9 @@ public class DataSetTableService {
}
private void checkName(DatasetTable datasetTable) {
if (StringUtils.isEmpty(datasetTable.getId()) && StringUtils.equalsIgnoreCase("db", datasetTable.getType())) {
return;
}
// if (StringUtils.isEmpty(datasetTable.getId()) && StringUtils.equalsIgnoreCase("db", datasetTable.getType())) {
// return;
// }
DatasetTableExample datasetTableExample = new DatasetTableExample();
DatasetTableExample.Criteria criteria = datasetTableExample.createCriteria();
if (StringUtils.isNotEmpty(datasetTable.getId())) {