From b802f67f272e5d14b8d3b9205b55e75e31fb5524 Mon Sep 17 00:00:00 2001 From: zc <zc> Date: 星期四, 25 七月 2024 20:47:20 +0800 Subject: [PATCH] 前端添加查询条件 --- src/main/java/com/zy/asrs/service/impl/MobileServiceImpl.java | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/main/java/com/zy/asrs/service/impl/MobileServiceImpl.java b/src/main/java/com/zy/asrs/service/impl/MobileServiceImpl.java index 7e5bcdf..e37ebd6 100644 --- a/src/main/java/com/zy/asrs/service/impl/MobileServiceImpl.java +++ b/src/main/java/com/zy/asrs/service/impl/MobileServiceImpl.java @@ -150,7 +150,7 @@ // 鍏宠仈缁勬墭 } else { Order order = orderService.selectByNo(param.getOrderNo()); - if (order.getSettle() > 2) { + if (Cools.isEmpty(order) || order.getSettle() > 2) { throw new CoolException("鍗曟嵁缂栧彿宸茶繃鏈�"); } // 鐢熸垚鍏ュ簱閫氱煡妗� -- Gitblit v1.9.1