|
|
@@ -2169,6 +2169,9 @@ public class CustomerServiceImpl extends BaseMybatisDao<UserMapper> implements C
|
|
|
|
|
|
@Override
|
|
|
public boolean checkMax(String uid,String aid) {
|
|
|
+ if (TokenManager.hasRole(AFTConstants.CUSTOMER_SERVICE_SALESMAN)){
|
|
|
+ return false;
|
|
|
+ }
|
|
|
boolean isUs = false;
|
|
|
if (uid !=null &&uid.contains(",")) {
|
|
|
isUs = true;
|
|
|
@@ -2190,6 +2193,7 @@ public class CustomerServiceImpl extends BaseMybatisDao<UserMapper> implements C
|
|
|
return false;
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
List<String > roles=adminMapper.getAdminRoleListByAid(aid);
|
|
|
for (String role : roles) {
|
|
|
if (role.equals(AFTConstants.SALESMAN_DIRECTOR)){
|