1
0
mirror of https://github.com/chatopera/cosin.git synced 2025-06-16 18:30:03 +08:00

Update ACDPolicyService.java

修复指定坐席不生效问题
This commit is contained in:
yanyunpiaomiao 2022-10-16 17:10:43 +08:00 committed by GitHub
parent 622c8b7849
commit 66b725d2b9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -168,7 +168,7 @@ public class ACDPolicyService {
}
if (agentUser != null && StringUtils.isNotBlank(agentUser.getAgentno())) {
User user = userRes.findById(agentUser.getUserid());
User user = userRes.findById(agentUser.getAgentno());
if (user != null && !user.isSuperadmin()) {
// 用户不为空并且不是超级管理员
// 指定坐席