|
|
@@ -2475,14 +2475,18 @@ public class CustomerServiceImpl extends BaseMybatisDao<UserMapper> implements C
|
|
|
params.put("shareType", in.getShareType());
|
|
|
if(!TokenManager.hasRole(AFTConstants.SUPERADMIN)){
|
|
|
if (in.getShareType()==0){
|
|
|
- params.put("aid", TokenManager.getAdminId());
|
|
|
+ if (in.getAid()==null||in.getAid().equals(TokenManager.getAdminId())){
|
|
|
+ params.put("aid", TokenManager.getAdminId());
|
|
|
+ }else{
|
|
|
+ params.put("aid", "");
|
|
|
+ }
|
|
|
+
|
|
|
}
|
|
|
}else{
|
|
|
if (null != in.getAid())params.put("aid", in.getAid());
|
|
|
}
|
|
|
}
|
|
|
if (null != in.getNewChannel())params.put("newChannel", in.getNewChannel());
|
|
|
-
|
|
|
}
|
|
|
|
|
|
@Override
|