king
2021-01-26 68f84129b685aa9539ac38ca1cf1f164c4d58074
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