feat: 支持保存多个sql模板内容

This commit is contained in:
meilin.huang
2021-12-20 20:42:52 +08:00
parent 8d30d7103c
commit 423a33c9ff
7 changed files with 130 additions and 27 deletions

View File

@@ -7,7 +7,8 @@ import (
type DbSql struct {
model.Model `orm:"-"`
DbId uint64 `json:"db_id"`
DbId uint64 `json:"dbId"`
Type int `json:"type"` // 类型
Sql string `json:"sql"`
Name string `json:"name"`
}