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/system/controller/HostController.java | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/main/java/com/zy/system/controller/HostController.java b/src/main/java/com/zy/system/controller/HostController.java
index c63ec36..66f821b 100644
--- a/src/main/java/com/zy/system/controller/HostController.java
+++ b/src/main/java/com/zy/system/controller/HostController.java
@@ -58,7 +58,7 @@
@ManagerAuth
public R edit(Host host) {
if (Cools.isEmpty(host)){
- return R.error();
+ return R.error("鍙傛暟缂哄け");
}
if (null == host.getId()){
hostService.insert(host);
@@ -79,7 +79,7 @@
@ManagerAuth
public R update(Host host){
if (Cools.isEmpty(host) || null==host.getId()){
- return R.error();
+ return R.error("鍙傛暟缂哄け");
}
hostService.updateById(host);
return R.ok();
@@ -89,7 +89,7 @@
@ManagerAuth
public R delete(Integer[] ids){
if (Cools.isEmpty(ids)){
- return R.error();
+ return R.error("鍙傛暟缂哄け");
}
hostService.deleteBatchIds(Arrays.asList(ids));
return R.ok();
--
Gitblit v1.9.1