Browse Source

feat : 推广渠道接口调试修改

bilingfeng 2 năm trước cách đây
mục cha
commit
a2a1fec43a

+ 3 - 3
game-module/game-manage/src/main/java/com/zanxiang/manage/service/Impl/PromoAccountServiceImpl.java

@@ -315,10 +315,10 @@ public class PromoAccountServiceImpl extends ServiceImpl<PromoAccountMapper, Pro
             return null;
         }
         List<PromoAccount> promoAccountList = super.list(new LambdaQueryWrapper<PromoAccount>()
-                .eq(Strings.isBlank(pitcherGroupId), PromoAccount::getPitcherGroupId, pitcherGroupId)
-                .eq(Strings.isBlank(pitcherId), PromoAccount::getPitcherId, pitcherId)
+                .eq(Strings.isNotBlank(pitcherGroupId), PromoAccount::getPitcherGroupId, pitcherGroupId)
+                .eq(Strings.isNotBlank(pitcherId), PromoAccount::getPitcherId, pitcherId)
                 .eq(mediaId != null, PromoAccount::getMediaId, mediaId)
-                .eq(Strings.isBlank(account), PromoAccount::getAccount, account)
+                .eq(Strings.isNotBlank(account), PromoAccount::getAccount, account)
                 .eq(accountType != null, PromoAccount::getAccountType, accountType));
         List<PromoAccountDTO> promoAccountDTOList = BeanUtils.copyList(promoAccountList, PromoAccountDTO.class);
         return promoAccountDTOList.stream().collect(Collectors.toMap(PromoAccountDTO::getId, Function.identity()));