From fabb442e274c03ae6b676538a5e3884d732272cf Mon Sep 17 00:00:00 2001 From: hurui <177768073@qq.com> Date: Thu, 16 Nov 2023 17:16:17 +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 --- .../src/main/java/com/web/controller/OrderController.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hai-order/src/main/java/com/web/controller/OrderController.java b/hai-order/src/main/java/com/web/controller/OrderController.java index f7a406af..6a1c572d 100644 --- a/hai-order/src/main/java/com/web/controller/OrderController.java +++ b/hai-order/src/main/java/com/web/controller/OrderController.java @@ -288,7 +288,7 @@ public class OrderController { throw ErrorHelp.genException(SysCode.System, ErrorCode.USE_VISIT_ILLEGAL, ""); } HighOrder highOrder = null; - if (StringUtils.isBlank(orderNo)) { + if (StringUtils.isNotBlank(orderNo)) { highOrder = orderService.getOrderDetailByNo(orderNo); if (highOrder.getProductType() == 12) { @@ -352,7 +352,7 @@ public class OrderController { } - if (StringUtils.isBlank(paySerialNo)) { + if (StringUtils.isNotBlank(paySerialNo)) { highOrder = orderService.getOrderDetailBySerialNo(paySerialNo); if (highOrder.getProductType() == 12) {