From 35f51aad9824b55bbe67c0fb21bd3d3d24381c2f Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期日, 16 七月 2023 21:42:33 +0800 Subject: [PATCH] Merge branch 'master' into positec --- src/tabviews/zshare/actionList/normalbutton/index.jsx | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tabviews/zshare/actionList/normalbutton/index.jsx b/src/tabviews/zshare/actionList/normalbutton/index.jsx index 48ae9df..1d010b2 100644 --- a/src/tabviews/zshare/actionList/normalbutton/index.jsx +++ b/src/tabviews/zshare/actionList/normalbutton/index.jsx @@ -1494,14 +1494,14 @@ if (typeof(val) === 'string') { val = val.replace(/'/ig, '"') } - keys.push(key) + keys.push('[' + key + ']') vals.push(`'${val}'`) } }) lines.push({ table: tb, - insert: `Insert into ${pre}${tb} (${keys.join(',')},mk_level,mk_id,mk_bid)`, + insert: `Insert into ${pre}${tb} (${keys.join(',')},[mk_level],[mk_id],[mk_bid])`, select: `Select ${vals.join(',')},'${level}','${id}','${bid}'` }) -- Gitblit v1.8.0