@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; }
@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; }