金币兑换钻石-公会金币结算-test

This commit is contained in:
2022-11-21 21:01:43 +08:00
parent 60c8645019
commit e868a86ba8

View File

@@ -56,7 +56,7 @@ public class GoldExchangeDiamondService {
private GoldExchangeDiamondConfigDto checkAndGetConfig(Long uid) {
//公会成员(除会长)要校验公会金币结算时间
Clan clan = clanService.getClanBaseInfoByUid(uid);
if (null != clan && !clan.getClanElderUid().equals(uid) && userPurseService.getClanGoldSettlementMap().containsKey(Long.parseLong(uid.toString()))){
if (null != clan && !clan.getClanElderUid().equals(uid) && userPurseService.getClanGoldSettlementMap().containsKey(uid)){
throw new ServiceException(BusiStatus.CLAN_GOLD_SETTLEMENT);
}