文件上传https

This commit is contained in:
chen-xin-zhi 2025-03-18 22:41:36 +08:00
parent a97da6427a
commit 43a4d9bf30

View File

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