|
@@ -123,7 +123,7 @@ public class YhShopGoodsController {
|
|
|
@GetMapping("/get")
|
|
@GetMapping("/get")
|
|
|
public Result<SearchResult<YhShopGoodsView>> goodsList(){
|
|
public Result<SearchResult<YhShopGoodsView>> goodsList(){
|
|
|
long userId = StpYhShopManageUser.getLoginIdAsLong();
|
|
long userId = StpYhShopManageUser.getLoginIdAsLong();
|
|
|
- SearchResult<YhShopGoodsView> search = beanSearcher.search(YhShopGoodsView.class, MapUtils.builder().field(YhShopGoodsView::getUserId, userId).build());
|
|
|
|
|
|
|
+ SearchResult<YhShopGoodsView> search = beanSearcher.search(YhShopGoodsView.class, MapUtils.flatBuilder(request.getParameterMap()).field(YhShopGoodsView::getUserId, userId).build());
|
|
|
return GatewayResponse.SUCCESS.newBuilder().toResult(search);
|
|
return GatewayResponse.SUCCESS.newBuilder().toResult(search);
|
|
|
}
|
|
}
|
|
|
|
|
|