mirror of
https://gitee.com/huangge1199_admin/vue-pro.git
synced 2024-11-26 17:21:53 +08:00
Merge branch 'develop' of https://gitee.com/zhijiantianya/ruoyi-vue-pro into master-jdk21
This commit is contained in:
commit
2aade25e78
@ -170,7 +170,7 @@ public class CrmPermissionServiceImpl implements CrmPermissionService {
|
|||||||
throw exception(CRM_PERMISSION_DELETE_FAIL);
|
throw exception(CRM_PERMISSION_DELETE_FAIL);
|
||||||
}
|
}
|
||||||
// 校验操作人是否为负责人
|
// 校验操作人是否为负责人
|
||||||
CrmPermissionDO permission = permissionMapper.selectByBizIdAndUserId(permissions.getFirst().getBizId(), userId);
|
CrmPermissionDO permission = permissionMapper.selectByBizIdAndUserId(permissions.get(0).getBizId(), userId);
|
||||||
if (permission == null) {
|
if (permission == null) {
|
||||||
throw exception(CRM_PERMISSION_DELETE_DENIED);
|
throw exception(CRM_PERMISSION_DELETE_DENIED);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user