From 5701eb6693c654d53f1bba460eb3a417d495b344 Mon Sep 17 00:00:00 2001
From: zhang <zc857179121@qq.com>
Date: 星期三, 11 六月 2025 17:31:53 +0800
Subject: [PATCH] bug修复;下发任务给rcs携带货架码
---
src/main/java/com/zy/asrs/controller/NodeController.java | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/main/java/com/zy/asrs/controller/NodeController.java b/src/main/java/com/zy/asrs/controller/NodeController.java
index ab6619a..24e29ae 100644
--- a/src/main/java/com/zy/asrs/controller/NodeController.java
+++ b/src/main/java/com/zy/asrs/controller/NodeController.java
@@ -157,7 +157,7 @@
throw new CoolException("璇ョ紪鍙�/鍚嶇О宸插瓨鍦�");
}
if (Cools.isEmpty(node) || null==node.getId()){
- return R.error();
+ return R.error("鍙傛暟缂哄け");
}
if (node.getType() != 1) {
Node parentNode = nodeService.selectById(node.getParentId());
@@ -186,7 +186,7 @@
public R delete(@RequestParam String param){
List<Node> list = JSONArray.parseArray(param, Node.class);
if (Cools.isEmpty(list)){
- return R.error();
+ return R.error("鍙傛暟缂哄け");
}
for (Node entity : list){
nodeService.delete(new EntityWrapper<>(entity));
--
Gitblit v1.9.1