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) {