From 04a71ecb03c8aaebceade470045ea8676f0baf2f Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期五, 01 七月 2022 14:31:23 +0800 Subject: [PATCH] 2022-07-01 --- src/templates/sharecomponent/actioncomponent/verifyexcelout/utils.jsx | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/src/templates/sharecomponent/actioncomponent/verifyexcelout/utils.jsx b/src/templates/sharecomponent/actioncomponent/verifyexcelout/utils.jsx index 78bdce9..c8fa24e 100644 --- a/src/templates/sharecomponent/actioncomponent/verifyexcelout/utils.jsx +++ b/src/templates/sharecomponent/actioncomponent/verifyexcelout/utils.jsx @@ -5,7 +5,7 @@ /** * @description 鐢熸垚椤甸潰鏌ヨ璇彞 */ - static getDebugSql (verify, scripts, searches, Utils) { + static getDebugSql (verify, scripts, searches, Utils, timestamp) { let sql = '' let _dataresource = verify.dataresource || '' let regoptions = this.getRegOptions(searches) @@ -49,6 +49,8 @@ }) } + _dataresource = _dataresource.replace(/@(BID|ID|LoginUID|SessionUid|UserID|Appkey|time_id)@/ig, `'${timestamp}'`) + _customScript = _customScript.replace(/@(BID|ID|LoginUID|SessionUid|UserID|Appkey|time_id)@/ig, `'${timestamp}'`) _dataresource = _dataresource.replace(/@\$|\$@/ig, '') _customScript = _customScript.replace(/@\$|\$@/ig, '') -- Gitblit v1.8.0