文件上传https
This commit is contained in:
parent
a97da6427a
commit
43a4d9bf30
|
@ -123,7 +123,7 @@ public class BannerController {
|
|||
long pageSize = bannerQueryRequest.getPageSize();
|
||||
String type = bannerQueryRequest.getType();
|
||||
QueryWrapper<Banner> queryWrapper = new QueryWrapper<>();
|
||||
queryWrapper.eq(StringUtils.isBlank(type), "type", type);
|
||||
queryWrapper.eq(StringUtils.isNotBlank(type), "type", type);
|
||||
Page<Banner> page = bannerService.page(new Page<>(current, pageSize),queryWrapper);
|
||||
List<Banner> bannerList = page.getRecords();
|
||||
List<BannerVO> bannerVOList = commonService.convertList(bannerList, BannerVO.class);
|
||||
|
|
Loading…
Reference in New Issue
Block a user