独联体-单独政策
This commit is contained in:
@@ -94,7 +94,8 @@ public class GuildManageAdminService {
|
||||
}
|
||||
PartitionInfo partitionInfo = partitionInfoService.getById(u.getPartitionId());
|
||||
if (null == partitionInfo || (!Constant.ClanMode.GUILD.equals(partitionInfo.getClanMode())
|
||||
&& !Constant.ClanMode.GUILD_POLICY2.equals(partitionInfo.getClanMode()))){
|
||||
&& !Constant.ClanMode.GUILD_POLICY2.equals(partitionInfo.getClanMode())
|
||||
&& !Constant.ClanMode.SOVIET.equals(partitionInfo.getClanMode()))){
|
||||
throw new AdminServiceException(BusiStatus.PARTITION_ERROR);
|
||||
}
|
||||
|
||||
|
@@ -131,7 +131,8 @@ public class UserCancelAdminService extends BaseService {
|
||||
familyManageAdminService.removeMember(vaildFamilyMemberByUid.getId(), 0);
|
||||
}
|
||||
} else if (Constant.ClanMode.GUILD.equals(partitionEnum.getClanMode())
|
||||
|| Constant.ClanMode.GUILD_POLICY2.equals(partitionEnum.getClanMode())) {
|
||||
|| Constant.ClanMode.GUILD_POLICY2.equals(partitionEnum.getClanMode())
|
||||
|| Constant.ClanMode.SOVIET.equals(partitionEnum.getClanMode())) {
|
||||
GuildMember vaildGuildMemberByUid = guildMemberService.getVaildGuildMemberByUid(users.getUid());
|
||||
if (vaildGuildMemberByUid != null && GuildConstant.RoleType.OWNER.equals(vaildGuildMemberByUid.getRoleType())) {
|
||||
Guild validOwnUid = guildManageAdminService.getValidByOwnUid(users.getUid());
|
||||
|
Reference in New Issue
Block a user