|
@@ -443,12 +443,12 @@ public class DatabaseServiceImpl implements DatabaseService {
|
|
|
//判断是否根目录
|
|
|
List<Integer> dictionaryById=new ArrayList<>();
|
|
|
if(null!=fileTreeVo.getParentId()&&0==fileTreeVo.getParentId()){
|
|
|
- dictionaryById=fileMapper.findDictionaryById(null,filePathArr[i]);
|
|
|
+ dictionaryById=fileMapper.findDictionaryById(null,filePathArr[i],authUserId);
|
|
|
}else{
|
|
|
- dictionaryById = fileMapper.findDictionaryById(fileTreeVo.getParentId(),filePathArr[i]);
|
|
|
+ dictionaryById = fileMapper.findDictionaryById(fileTreeVo.getParentId(),filePathArr[i],authUserId);
|
|
|
if(null==dictionaryById||dictionaryById.size()<=0){
|
|
|
//判断次级目录是否存在
|
|
|
- List<Integer> secondDictionaryById = fileMapper.findSecondDictionaryById(fileTreeVo.getParentId(), filePathArr[i]);
|
|
|
+ List<Integer> secondDictionaryById = fileMapper.findSecondDictionaryById(fileTreeVo.getParentId(), filePathArr[i],authUserId);
|
|
|
if(null!=secondDictionaryById&&secondDictionaryById.size()>0){
|
|
|
dictionaryById.add(secondDictionaryById.get(0));
|
|
|
}
|