From 8a0efca6eeaab4d996df8cd9f425dd7ef9abdb20 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 16:30:56 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=84=E5=88=92=E6=94=AF=E6=8C=81=20InputSql?= 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 e450c66..97072db 100644 --- a/define/api2sql.go +++ b/define/api2sql.go @@ -13,6 +13,7 @@ package define // // Date : 16:06 2024/8/21 type Api2SqlParam struct { + InputSql string `json:"input_sql"` // 输入的sql模板, 若指定了sql, 则下面的配置均不生效, 仅依赖 ValueList 解析字段值 TableSplit bool `json:"table_split"` // 是否分表 SplitField string `json:"split_field"` // 分表字段, 仅分表时有效, 分表字段要求在 ValueList 必须存在 SplitStrategy string `json:"split_strategy"` // 分表策略, 仅分表时有效, 支持注册自动以策略