소스 검색

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

bilingfeng 2 년 전
부모
커밋
a2a1fec43a
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 3 3
      game-module/game-manage/src/main/java/com/zanxiang/manage/service/Impl/PromoAccountServiceImpl.java

+ 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()));