コード例 #1
0
 @Override
 public Page<Product> searchProductByConditionPage(
     ProductCondition productCondition,
     String sortField,
     String sortDirection,
     Page<Product> page) {
   page.setResult(
       this.productMapper.searchProductByConditionPage(
           productCondition, sortField, sortDirection, page));
   return page;
 }
コード例 #2
0
 @Override
 public Page<Product> searchAuditProductPage(
     ProductCondition productCondition,
     String sortField,
     String sortDirection,
     Page<Product> page) {
   productCondition.setStatus(ProductConstants.PROD_STATUS_DOWN);
   page.setResult(
       this.productMapper.searchAuditProductByConditionPage(
           productCondition, sortField, sortDirection, page));
   return page;
 }