feat(backend):fix
This commit is contained in:
parent
6aab309741
commit
f9f384d030
@ -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())) {
|
||||
|
||||
@ -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())) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user