From 3b1e7c72329654c719ef1a7adfad1d8870dc451b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=99=BD=E8=8C=B6=E6=B8=85=E6=AC=A2?= Date: Wed, 21 Aug 2024 21:01:39 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BE=93=E5=85=A5=E5=8F=82=E6=95=B0=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0=E6=95=B0=E6=8D=AE=E5=BA=93=E6=A0=87=E8=AF=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- define/api2sql.go | 1 + 1 file changed, 1 insertion(+) diff --git a/define/api2sql.go b/define/api2sql.go index 8601f27..c8e9d81 100644 --- a/define/api2sql.go +++ b/define/api2sql.go @@ -13,6 +13,7 @@ package define // // Date : 16:06 2024/8/21 type Api2SqlParam struct { + DatabaseFlag string `json:"database_flag"` // 数据库标识 InputSql string `json:"input_sql"` // 输入的sql模板, 仅依赖 ValueList 解析字段值, 依赖 split 相关解析分表配置 TableSplit bool `json:"table_split"` // 是否分表 SplitField string `json:"split_field"` // 分表字段, 仅分表时有效, 分表字段要求在 ValueList 必须存在