forked from github/dataease
Merge branch 'main' of github.com:dataease/dataease into main
This commit is contained in:
commit
cebbc87e6e
@ -139,6 +139,7 @@ public class DataSetGroupService {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void getParent(List<DatasetGroup> list, DatasetGroup datasetGroup) {
|
public void getParent(List<DatasetGroup> list, DatasetGroup datasetGroup) {
|
||||||
|
if (ObjectUtils.isNotEmpty(datasetGroup)) {
|
||||||
if (StringUtils.isNotEmpty(datasetGroup.getPid())) {
|
if (StringUtils.isNotEmpty(datasetGroup.getPid())) {
|
||||||
DatasetGroup d = datasetGroupMapper.selectByPrimaryKey(datasetGroup.getPid());
|
DatasetGroup d = datasetGroupMapper.selectByPrimaryKey(datasetGroup.getPid());
|
||||||
list.add(d);
|
list.add(d);
|
||||||
@ -146,3 +147,4 @@ public class DataSetGroupService {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user