From a1a7c03eae40f4b0344fce652e1a240cf5283624 Mon Sep 17 00:00:00 2001
From: Junjie <540245094@qq.com>
Date: 星期五, 13 九月 2024 16:37:42 +0800
Subject: [PATCH] #合并订单出库,统一转波次出库前最新代码

---
 zy-asrs-wms/src/main/java/com/zy/asrs/wms/system/controller/RoleController.java |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/zy-asrs-wms/src/main/java/com/zy/asrs/wms/system/controller/RoleController.java b/zy-asrs-wms/src/main/java/com/zy/asrs/wms/system/controller/RoleController.java
index 7c27754..726f3e9 100644
--- a/zy-asrs-wms/src/main/java/com/zy/asrs/wms/system/controller/RoleController.java
+++ b/zy-asrs-wms/src/main/java/com/zy/asrs/wms/system/controller/RoleController.java
@@ -105,6 +105,10 @@
     @Transactional
     public R remove(@PathVariable Long[] ids) {
         for (Long roleId : ids) {
+            if (roleId == 1) {
+                throw new CoolException("瓒呯骇绠$悊鍛樼姝㈠垹闄�");
+            }
+
             if (!roleService.removeById(roleId)) {
                 throw new CoolException("鏈嶅姟鍣ㄥ唴閮ㄩ敊璇�");
             }

--
Gitblit v1.9.1