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