|
@@ -100,7 +100,7 @@ public class DirServiceImpl extends IBaseServiceImpl<DirEntity, Long> implements
|
|
|
DirEntity byId = this.findById(Long.valueOf(s));
|
|
|
log.info("文件夹名称查询{}",byId);
|
|
|
if (ObjectUtil.isNotNull(byId)){
|
|
|
- List<DirEntity> byIdAndName = findByIdAndName(param.getParentId(), byId.getName(),byId.getType());
|
|
|
+ List<DirEntity> byIdAndName = findByIdAndNameAndUserId(param.getParentId(), byId.getName(),byId.getType(), byId.getUserId());
|
|
|
if (ObjectUtil.isNotNull(byIdAndName)&&byIdAndName.size()>0){
|
|
|
log.info("{}",byIdAndName);
|
|
|
throw new BaseRuntimeException(ErrorEnum.FAILURE_CODE_3104.code(), ErrorEnum.FAILURE_CODE_3104.message());
|