From bd939a69d62850097f1d194647aa74a5a4d31759 Mon Sep 17 00:00:00 2001 From: hurui <177768073@qq.com> Date: Fri, 23 Aug 2024 10:32:40 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../impl/BsOrderAfterSalesApplyServiceImpl.java | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/service/src/main/java/com/hfkj/service/order/impl/BsOrderAfterSalesApplyServiceImpl.java b/service/src/main/java/com/hfkj/service/order/impl/BsOrderAfterSalesApplyServiceImpl.java index 579556f..b230965 100644 --- a/service/src/main/java/com/hfkj/service/order/impl/BsOrderAfterSalesApplyServiceImpl.java +++ b/service/src/main/java/com/hfkj/service/order/impl/BsOrderAfterSalesApplyServiceImpl.java @@ -286,10 +286,22 @@ public class BsOrderAfterSalesApplyServiceImpl implements BsOrderAfterSalesApply criteria.andUserPhoneLike("%"+MapUtils.getString(param, "userPhone")+"%"); } + if (StringUtils.isNotBlank(MapUtils.getString(param, "orderNo"))) { + criteria.andOrderNoLike("%"+MapUtils.getString(param, "orderNo")+"%"); + } + if (StringUtils.isNotBlank(MapUtils.getString(param, "childOrderNo"))) { criteria.andChildOrderNoLike("%"+MapUtils.getString(param, "childOrderNo")+"%"); } + if (MapUtils.getInteger(param, "productType") != null) { + criteria.andProductTypeEqualTo(MapUtils.getInteger(param, "productType")); + } + + if (StringUtils.isNotBlank(MapUtils.getString(param, "productName"))) { + criteria.andProductNameLike("%"+MapUtils.getString(param, "productName")+"%"); + } + if (StringUtils.isNotBlank(MapUtils.getString(param, "applyNo"))) { criteria.andApplyNoLike("%"+MapUtils.getString(param, "applyNo")+"%"); }