From 72c3301b1e27e60d88e8561b8b6a312b48d12341 Mon Sep 17 00:00:00 2001
From: zwl <1051256694@qq.com>
Date: 星期日, 29 六月 2025 14:13:34 +0800
Subject: [PATCH] #

---
 src/main/java/com/zy/asrs/service/impl/OpenServiceImpl.java |   13 +++++++------
 1 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/src/main/java/com/zy/asrs/service/impl/OpenServiceImpl.java b/src/main/java/com/zy/asrs/service/impl/OpenServiceImpl.java
index f2d45cb..3cf81fc 100644
--- a/src/main/java/com/zy/asrs/service/impl/OpenServiceImpl.java
+++ b/src/main/java/com/zy/asrs/service/impl/OpenServiceImpl.java
@@ -70,8 +70,8 @@
         HashMap<String,Object> map=new HashMap<>();
         TaskWrk taskWrk = taskWrkService.selectByTaskNo(param.getTaskNo());
         if (taskWrk != null) {
-            map.put("Code","0");
-            map.put("Msg",param.getTaskNo()+"浠诲姟宸茬粡鐢熸垚锛�");
+            map.put("ReturnStatus",1);
+            map.put("ErrorMessage",param.getTaskNo()+"浠诲姟宸茬粡鐢熸垚锛�");
             return map;
         }
 
@@ -90,6 +90,7 @@
                 }
             }
         } catch (Exception e) {
+
         }
         taskWrk.setIoType(param.getIoType());//浠诲姟绫诲瀷
         taskWrk.setIoPri(param.getTaskPriority());//浼樺厛绾�
@@ -123,12 +124,12 @@
         }
 
         if (!taskWrkService.insert(taskWrk)) {
-            map.put("Code","0");
-            map.put("Msg",param.getTaskNo()+"鍒涘缓浠诲姟澶辫触锛�");
+            map.put("ReturnStatus",1);
+            map.put("ErrorMessage",param.getTaskNo()+"鍒涘缓浠诲姟澶辫触锛�");
             return map;
         }
-        map.put("Code","1");
-        map.put("Msg","ok");
+        map.put("ReturnStatus",0);
+        map.put("ErrorMessage","ok");
         return map;
     }
 

--
Gitblit v1.9.1