forked from github/dataease
fix: 获取数据集路径失败
This commit is contained in:
parent
2300c83ae2
commit
c2a3f632f6
@ -561,6 +561,9 @@ public class DatasetGroupManage {
|
|||||||
|
|
||||||
public void geFullName(Long pid, List<String> fullName) {
|
public void geFullName(Long pid, List<String> fullName) {
|
||||||
CoreDatasetGroup parent = coreDatasetGroupMapper.selectById(pid);// 查找父级folder
|
CoreDatasetGroup parent = coreDatasetGroupMapper.selectById(pid);// 查找父级folder
|
||||||
|
if (parent == null) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
fullName.add(parent.getName());
|
fullName.add(parent.getName());
|
||||||
if (parent.getPid() != null && parent.getPid() != 0) {
|
if (parent.getPid() != null && parent.getPid() != 0) {
|
||||||
geFullName(parent.getPid(), fullName);
|
geFullName(parent.getPid(), fullName);
|
||||||
|
@ -24,7 +24,7 @@ public class CommonThreadPool {
|
|||||||
@PostConstruct
|
@PostConstruct
|
||||||
public void init() {
|
public void init() {
|
||||||
scheduledThreadPoolExecutor = new ScheduledThreadPoolExecutor(corePoolSize);
|
scheduledThreadPoolExecutor = new ScheduledThreadPoolExecutor(corePoolSize);
|
||||||
scheduledThreadPoolExecutor.setMaximumPoolSize(maximumPoolSize);
|
scheduledThreadPoolExecutor.setMaximumPoolSize(corePoolSize);
|
||||||
scheduledThreadPoolExecutor.setKeepAliveTime(keepAliveSeconds, TimeUnit.SECONDS);
|
scheduledThreadPoolExecutor.setKeepAliveTime(keepAliveSeconds, TimeUnit.SECONDS);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user