优化代码
This commit is contained in:
parent
7509811d5b
commit
0e21111c79
|
|
@ -605,7 +605,7 @@ public class EdFileInfoServiceImpl extends ServiceImpl<EdFileInfoMapper, EdFileI
|
|||
String[] ids = dataIdArr.split(",");
|
||||
Map<String, Boolean> map = permissionService.filterExportIds(ids);
|
||||
if (map.containsValue(Boolean.FALSE)) {
|
||||
throw new BizException(-1, "有未授权的层级接口,禁止导出");
|
||||
throw new BizException(-1, "有未授权的层级目录,禁止导出");
|
||||
}
|
||||
Map<String, EdFileInfo> maps = new HashMap<>();
|
||||
for (String id : ids) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue