解决层级删除的bug
This commit is contained in:
parent
4f0e7c883d
commit
7eb81ca352
|
|
@ -456,7 +456,7 @@ public class CommonService {
|
|||
String parentId = srcFileInfo.getParentId();
|
||||
if (DataOwnEnum.isPrjCode(srcFileInfo.getDataOwn())) { // 删除的是层级目录
|
||||
long count = edFileInfoMapper.selectCount(Wrappers.<EdFileInfo>lambdaQuery()
|
||||
.eq(EdFileInfo::getDataOwn, DataOwnEnum.SYS_FILE.code)
|
||||
.eq(EdFileInfo::getDataType, EleDataTypeEnum.FILE.code)
|
||||
.eq(EdFileInfo::getEffectFlag, EffectFlagEnum.EFFECT.code)
|
||||
.like(EdFileInfo::getFilePath, MYSQL_FILE_PATH_SPLIT + id + MYSQL_FILE_PATH_SPLIT));
|
||||
if (count > 0) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue