update 首页店铺列表模糊查询修改

This commit is contained in:
yyb
2026-01-07 17:34:24 +08:00
parent 3049b653b5
commit 48fb364d95
4 changed files with 22 additions and 16 deletions

View File

@@ -34,7 +34,7 @@ public interface LeaseMachineMapper extends BaseMapper<LeaseMachine> {
* 根据id集合查询店铺信息
* @return
*/
List<ShopInfoDto> getExistsMachineShop(@Param("ids") Set<Long> ids, @Param("coin") String coin , @Param("algorithm") String algorithm);
List<ShopInfoDto> getExistsMachineShop(@Param("ids") Set<Long> ids, @Param("keyword") String keyword );
/**

View File

@@ -74,7 +74,7 @@ public class LeaseMachineServiceImpl extends ServiceImpl<LeaseMachineMapper, Lea
return PageResult.success(new ArrayList<>());
}
PageHelper.startPage(productPageVo.getPageNum(), productPageVo.getPageSize());
List<ShopInfoDto> existsMachineShop = leaseMachineMapper.getExistsMachineShop(shopIds, productPageVo.getCoin(), productPageVo.getAlgorithm());
List<ShopInfoDto> existsMachineShop = leaseMachineMapper.getExistsMachineShop(shopIds, productPageVo.getKeyword());
PageInfo<ShopInfoDto> pageInfo = new PageInfo<>(existsMachineShop);
//店铺支付方式
List<PayTypeDto> payType = leaseShopConfigMapper.getPayType(new ArrayList<>(shopIds));

View File

@@ -33,6 +33,9 @@ public class ProductPageVo extends PageVo{
@ApiModelProperty(value = "算法")
private String algorithm;
@ApiModelProperty(value = "关键字")
private String keyword;
@ApiModelProperty(value = "用户邮箱(个人中心商品列表)")
private String userEmail;
}