From aa221b6b6c3939130c78e4219207d14ce877ff30 Mon Sep 17 00:00:00 2001
From: zhang <zc857179121@qq.com>
Date: 星期三, 06 八月 2025 15:57:34 +0800
Subject: [PATCH] 1
---
src/main/java/com/zy/asrs/controller/WrkDetlLogController.java | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/main/java/com/zy/asrs/controller/WrkDetlLogController.java b/src/main/java/com/zy/asrs/controller/WrkDetlLogController.java
index 517e54d..77a144b 100644
--- a/src/main/java/com/zy/asrs/controller/WrkDetlLogController.java
+++ b/src/main/java/com/zy/asrs/controller/WrkDetlLogController.java
@@ -93,7 +93,7 @@
@ManagerAuth
public R update(WrkDetlLog wrkDetlLog){
if (Cools.isEmpty(wrkDetlLog) || null==wrkDetlLog.getWrkNo()){
- return R.error();
+ return R.error("鍙傛暟缂哄け");
}
wrkDetlLogService.updateById(wrkDetlLog);
return R.ok();
@@ -104,7 +104,7 @@
public R delete(@RequestParam String param){
List<WrkDetlLog> list = JSONArray.parseArray(param, WrkDetlLog.class);
if (Cools.isEmpty(list)){
- return R.error();
+ return R.error("鍙傛暟缂哄け");
}
for (WrkDetlLog entity : list){
wrkDetlLogService.delete(new EntityWrapper<>(entity));
--
Gitblit v1.9.1