!21 fix(SmsAdvertServiceImpl.java): 修复app banner图片不显示的问题

Merge pull request !21 from Hekliu
This commit is contained in:
xianrui 2022-11-30 08:16:04 +00:00 committed by Gitee
commit 5d4c5463e0
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -55,7 +55,7 @@ public class SmsAdvertServiceImpl extends ServiceImpl<SmsAdvertMapper, SmsAdvert
List<SmsAdvert> entities = this.list(new LambdaQueryWrapper<SmsAdvert>().
eq(SmsAdvert::getStatus, StatusEnum.ENABLE.getValue())
.select(SmsAdvert::getTitle)
.select(SmsAdvert::getTitle, SmsAdvert::getPicUrl, SmsAdvert::getRedirectUrl)
);
List<AdBannerVO> list = advertConverter.entity2BannerVo(entities);
return list;