update 首页店铺列表模糊查询修改
This commit is contained in:
@@ -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 );
|
||||
|
||||
|
||||
/**
|
||||
|
||||
@@ -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));
|
||||
|
||||
@@ -33,6 +33,9 @@ public class ProductPageVo extends PageVo{
|
||||
@ApiModelProperty(value = "算法")
|
||||
private String algorithm;
|
||||
|
||||
@ApiModelProperty(value = "关键字")
|
||||
private String keyword;
|
||||
|
||||
@ApiModelProperty(value = "用户邮箱(个人中心商品列表)")
|
||||
private String userEmail;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user