From 176c6e1da22e96a1110fa91f8fc8eb8ad2881e08 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期一, 08 八月 2022 18:13:37 +0800
Subject: [PATCH] 2022-08-08

---
 src/tabviews/zshare/actionList/normalbutton/index.jsx |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/src/tabviews/zshare/actionList/normalbutton/index.jsx b/src/tabviews/zshare/actionList/normalbutton/index.jsx
index 53d9a8b..d58c19e 100644
--- a/src/tabviews/zshare/actionList/normalbutton/index.jsx
+++ b/src/tabviews/zshare/actionList/normalbutton/index.jsx
@@ -1394,8 +1394,13 @@
         }
       })
 
-      _backCustomScript += `
-        aaa: select @ErrorCode as ErrorCode,@retmsg as retmsg`
+      if (btn.output) {
+        _backCustomScript += `
+          aaa: select @ErrorCode as ErrorCode,@retmsg as retmsg,${btn.output} as mk_b_id`
+      } else {
+        _backCustomScript += `
+          aaa: select @ErrorCode as ErrorCode,@retmsg as retmsg`
+      }
 
       let sql = [...lineMap.values()].map(item => (`
         ${item.insert}

--
Gitblit v1.8.0