@Override public List<ProductTransactionsRule> searchByParameters( Page page, ProductTransactionsRule productTransactionsRule) { page.setParameters(productTransactionsRule); List<ProductTransactionsRule> returnList = productTransactionsRuleMapper.selectByParameters(page); return returnList; }
@RequestMapping("/searchByParameters") public String searchByParameters( @Param("productInterestInfo") ProductInterestInfo productInterestInfo, @Param("pageNo") int pageNo) { Page page = Page.newBuilder(pageNo, pageSize); productInterestInfoService.searchByParameters(page, productInterestInfo); return null; }
@Override public List<ProductType> searchByParameters(Page page, ProductType productType) { page.setParameters(productType); List<ProductType> returnList = productTypeMapper.selectByParameters(page); return returnList; }