feat(backend):关联视图表、字段重复关联校验
This commit is contained in:
parent
ee3c99e177
commit
f85ac96e9f
@ -88,6 +88,7 @@ public class DataSetTableUnionService {
|
||||
criteria.andTargetTableFieldIdEqualTo(datasetTableUnion.getTargetTableFieldId());
|
||||
List<DatasetTableUnion> sourceResult = datasetTableUnionMapper.selectByExample(datasetTableUnionExample);
|
||||
datasetTableUnionExample.clear();
|
||||
criteria = datasetTableUnionExample.createCriteria();
|
||||
if (StringUtils.isNotEmpty(datasetTableUnion.getId())) {
|
||||
criteria.andIdNotEqualTo(datasetTableUnion.getId());
|
||||
}
|
||||
|
||||
@ -230,6 +230,7 @@ export default {
|
||||
targetTableFieldId: '',
|
||||
targetUnionRelation: ''
|
||||
}
|
||||
this.targetTable = {}
|
||||
},
|
||||
|
||||
edit(item) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user