独联体-单独政策fixed
This commit is contained in:
@@ -55,7 +55,8 @@ public class GuildMemberWeekLevelRewardRecordAdminService {
|
|||||||
PartitionInfo partitionInfo = partitionInfoService.getById(partitionId);
|
PartitionInfo partitionInfo = partitionInfoService.getById(partitionId);
|
||||||
if (null == partitionInfo
|
if (null == partitionInfo
|
||||||
|| (!Constant.ClanMode.GUILD.equals(partitionInfo.getClanMode())
|
|| (!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.PARAMERROR);
|
throw new AdminServiceException(BusiStatus.PARAMERROR);
|
||||||
} else if (!StringUtils.hasText(cycleDate)) {
|
} else if (!StringUtils.hasText(cycleDate)) {
|
||||||
throw new AdminServiceException(BusiStatus.PARAMERROR);
|
throw new AdminServiceException(BusiStatus.PARAMERROR);
|
||||||
|
@@ -51,7 +51,8 @@ public class FamilyClanService {
|
|||||||
}
|
}
|
||||||
FamilyClanDecorateVo vo = new FamilyClanDecorateVo();
|
FamilyClanDecorateVo vo = new FamilyClanDecorateVo();
|
||||||
vo.setClanMode(Constant.ClanMode.GUILD.equals(partitionInfo.getClanMode())
|
vo.setClanMode(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())?
|
||||||
Constant.ClanMode.FAMILY: partitionInfo.getClanMode());
|
Constant.ClanMode.FAMILY: partitionInfo.getClanMode());
|
||||||
|
|
||||||
if (Constant.ClanMode.CLAN_HALL.equals(partitionInfo.getClanMode())) {
|
if (Constant.ClanMode.CLAN_HALL.equals(partitionInfo.getClanMode())) {
|
||||||
|
Reference in New Issue
Block a user