src/utils/utils-datamanage.js
@@ -409,7 +409,7 @@ // 测试系统打印查询语句 if ((options.sysType === 'local' && !window.GLOB.systemType) || window.debugger === true) { console.info(sql) console.info(sql.replace(/\n\s{8}/ig, '\n')) } } @@ -445,7 +445,8 @@ Select @ErrorCode='',@retmsg='' ${errSql} ` let _backCustomScript = '' let _backCustomScript = ` ` setting.cbScripts.forEach(script => { if (script.status === 'false') return @@ -463,6 +464,9 @@ } }) _backCustomScript += ` aaa: select @ErrorCode as ErrorCode,@retmsg as retmsg` sql = _prevCustomScript + sql sql = sql + _backCustomScript