use of sqltoy.showcase.system.vo.GoodsParam in project sagacity-sqltoy by chenrenfei.
the class LinkDaoTest method findESBySqlPage.
@Test
public void findESBySqlPage() throws Exception {
GoodsParam goodsParam = new GoodsParam();
goodsParam.setGoodsCateId("1515376757743370152561");
List<String> goodsCateIds = new ArrayList<>();
goodsCateIds.add("1515376757743370152561");
PaginationModel paginationModel = new PaginationModel();
goodsParam.setPage(paginationModel);
goodsParam.setGoodsCateIds(goodsCateIds);
goodsParam.setKeyword("资源");
PaginationModel pageModel = new PaginationModel();
PaginationModel pageGoods = staffInfoDao.findESPageBySql(pageModel, goodsParam);
List<Goods> goodsResults = pageGoods.getRows();
System.out.println(JSON.toJSONString(goodsResults));
}
Aggregations