king
2025-04-06 7913561e21172a8fc06b9f98c72c744e30f9c81d
2025-04-06
1个文件已修改
4 ■■■■ 已修改文件
src/views/transystem/index.jsx 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/transystem/index.jsx
@@ -517,7 +517,7 @@
      result = result.replace(/@BID@\s+nvarchar\(/ig, '@BID nvarchar(')
      result = result.replace(/@userid@\s+nvarchar\(/ig, '@UserID nvarchar(')
      result = this.handleFormat(result)
      // result = this.handleFormat(result)
    }
    this.setState({value: result})
@@ -539,7 +539,7 @@
      sql = sql.replace(new RegExp(`[^0-9a-z_]from\\s+${tb}[^0-9a-z_]`, 'ig'), (w) => w.replace(/from\s+/i, 'from @db@'))
    })
    sql = this.handleFormat(sql)
    // sql = this.handleFormat(sql)
    return sql
  }