提交 d5841ba3 作者: 沈振路

取消批量操作的权限校验

上级 593e50da
...@@ -49,14 +49,14 @@ public class DistributeServiceImpl extends ServiceImpl<AccountDistributeLogMappe ...@@ -49,14 +49,14 @@ public class DistributeServiceImpl extends ServiceImpl<AccountDistributeLogMappe
List<AccountDistributeRecord> distributeLogList = new ArrayList<>(); List<AccountDistributeRecord> distributeLogList = new ArrayList<>();
log.info("开始执行复用任务...."); log.info("开始执行复用任务....");
AuthInfoVO sourceAuth = distributeDTO.getSourceAuth(); AuthInfoVO sourceAuth = distributeDTO.getSourceAuth();
Integer targetAuthListSize = distributeDTO.getTargetAuthListSize(); /*Integer targetAuthListSize = distributeDTO.getTargetAuthListSize();
if (ObjectUtil.isNotNull(sourceAuth.getAppId())) { if (ObjectUtil.isNotNull(sourceAuth.getAppId())) {
List<AccountSetupVO> accountSetupVOList = kanbanCommonMapper.getRole(userId, distributeDTO.getAccountId()); List<AccountSetupVO> accountSetupVOList = kanbanCommonMapper.getRole(userId, distributeDTO.getAccountId());
int size = accountSetupVOList.size(); int size = accountSetupVOList.size();
if (targetAuthListSize != size) { if (targetAuthListSize != size) {
return new BaseResult().error("暂无权限"); return new BaseResult().error("暂无权限");
} }
} }*/
myExecutorDistributeService.myExecutorDistribute(distributeDTO, userId, distributeLogList, sourceAuth); myExecutorDistributeService.myExecutorDistribute(distributeDTO, userId, distributeLogList, sourceAuth);
return new BaseResult().success("复用进行中, 请等待"); return new BaseResult().success("复用进行中, 请等待");
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论