|
|
@@ -451,7 +451,21 @@ public class ProductServiceImpl implements ProductService {
|
|
|
return prods;
|
|
|
}
|
|
|
|
|
|
- /**
|
|
|
+ /**
|
|
|
+ * 分页查找客户物料(标准未禁用)
|
|
|
+ *
|
|
|
+ * @param pageInfo 分页参数
|
|
|
+ * @param keyword 查找关键词
|
|
|
+ * @return
|
|
|
+ */
|
|
|
+ @Override
|
|
|
+ public SPage<Product> findStandardB2bEnabledProductInfoByPageInfo(PageInfo pageInfo, String keyword) {
|
|
|
+ pageInfo.expression(PredicateUtils.and(PredicateUtils.isNotNull("standard"),
|
|
|
+ PredicateUtils.ne("standard", Constant.NO, false)));
|
|
|
+ return findB2bEnabledProductInfoByPageInfo(pageInfo, keyword);
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
* 分页查找客户物料(非标准未禁用)
|
|
|
*
|
|
|
* @param pageInfo 分页参数
|
|
|
@@ -460,7 +474,8 @@ public class ProductServiceImpl implements ProductService {
|
|
|
*/
|
|
|
@Override
|
|
|
public SPage<Product> findNotStandardB2bEnabledProductInfoByPageInfo(PageInfo pageInfo, String keyword) {
|
|
|
- pageInfo.expression(PredicateUtils.or(PredicateUtils.isNull("standard"), PredicateUtils.eq("standard", Constant.NO, false)));
|
|
|
+ pageInfo.expression(PredicateUtils.or(PredicateUtils.isNull("standard"),
|
|
|
+ PredicateUtils.eq("standard", Constant.NO, false)));
|
|
|
return findB2bEnabledProductInfoByPageInfo(pageInfo, keyword);
|
|
|
}
|
|
|
|