Ver Fonte

fix 意向用户查询

zoujiajian há 3 anos atrás
pai
commit
1ea6db3242

+ 3 - 0
netflix-web/src/main/java/com/cyksj/web/controller/manage/CmsOrderController.java

@@ -173,6 +173,9 @@ public class CmsOrderController {
 		if (interestStatus == null) {
 			builder.field(RealGoodsInterestUserView::getInterestStatus, "hasPayment").op(Operator.NotEqual);
 			search = beanSearcher.search(RealGoodsInterestUserView.class, builder.build());
+		} else if (interestStatus != RealGoodsInterestUser.Status.hasPayment) {
+			builder.field(RealGoodsInterestUserView::getInterestStatus, interestStatus.name());
+			search = beanSearcher.search(RealGoodsInterestUserView.class, builder.build());
 		} else {
 			search = new SearchResult<>();
 			SearchResult<RealGoodsInterestUserHasPaymentView> search2 = beanSearcher.search(RealGoodsInterestUserHasPaymentView.class, builder.build());