From a231bc005942147cecc282c83a9ae85d27c04f7d Mon Sep 17 00:00:00 2001 From: Damonny <826010988@qq.com> Date: Sat, 11 Jan 2025 23:54:56 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=A2=E5=8D=95=E5=AE=A1=E6=A0=B8=E6=B5=81?= =?UTF-8?q?=E7=A8=8B=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../yudao/module/haoka/service/orders/OrdersServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yudao-module-haoka/yudao-module-haoka-biz/src/main/java/cn/iocoder/yudao/module/haoka/service/orders/OrdersServiceImpl.java b/yudao-module-haoka/yudao-module-haoka-biz/src/main/java/cn/iocoder/yudao/module/haoka/service/orders/OrdersServiceImpl.java index 6274aac3ee..4980790919 100644 --- a/yudao-module-haoka/yudao-module-haoka-biz/src/main/java/cn/iocoder/yudao/module/haoka/service/orders/OrdersServiceImpl.java +++ b/yudao-module-haoka/yudao-module-haoka-biz/src/main/java/cn/iocoder/yudao/module/haoka/service/orders/OrdersServiceImpl.java @@ -397,7 +397,7 @@ public class OrdersServiceImpl extends ServiceImpl imple private void validateOrdersIfAudit(Long id) { OrdersDO ordersDO = ordersMapper.selectById(id); ArrayList longs = Lists.newArrayList(120L, 125L, 200L); - if (longs.contains(ordersDO.getStatus())) { + if (!longs.contains(ordersDO.getStatus())) { throw exception(ORDERS_NOT_AUDIT); } }