From a72f3e862b46f6f64015758efcadf948fc2c1aad Mon Sep 17 00:00:00 2001
From: lazhen <17772815105@139.com>
Date: 星期四, 31 十月 2024 18:06:42 +0800
Subject: [PATCH] Merge branch 'dev' of http://47.101.211.7:10101/r/VWED into dev-zlg

---
 _Main/BL/Type_DispatchShiftSchedulingInformation/StaticMethod_DispatchDL.qbl |   10 ++--------
 1 files changed, 2 insertions(+), 8 deletions(-)

diff --git a/_Main/BL/Type_DispatchShiftSchedulingInformation/StaticMethod_DispatchDL.qbl b/_Main/BL/Type_DispatchShiftSchedulingInformation/StaticMethod_DispatchDL.qbl
index 67b1d11..21505a4 100644
--- a/_Main/BL/Type_DispatchShiftSchedulingInformation/StaticMethod_DispatchDL.qbl
+++ b/_Main/BL/Type_DispatchShiftSchedulingInformation/StaticMethod_DispatchDL.qbl
@@ -2,7 +2,7 @@
 #parent: #root
 StaticMethod DispatchDL (
   const RecycleBin recycleBin
-) as String
+) as owning JSON
 {
   TextBody:
   [*
@@ -55,12 +55,6 @@
     
     respJSON   := JSON::Parse( htmlresult );
     
-    result := respJSON.Get( "State" ).AsString();
-    message := respJSON.Get( "Message" ).AsString();
-    if( result = "Error" ){
-      error( "杩滅▼鏈嶅姟鍣ㄨ繑鍥炰簡涓�涓敊璇細" + message );
-    }
-    
-    return message;
+    return &respJSON;
   *]
 }

--
Gitblit v1.9.3