feat: 数据库sql执行支持取消执行操作

This commit is contained in:
meilin.huang
2023-12-07 01:07:34 +08:00
parent e1e03dc09a
commit a376a82240
15 changed files with 202 additions and 67 deletions

View File

@@ -18,6 +18,7 @@ type DbSqlSaveForm struct {
// 数据库SQL执行表单
type DbSqlExecForm struct {
ExecId string `json:"execId"` // 执行id(用于取消执行使用)
Db string `binding:"required" json:"db"` //数据库名
Sql string `binding:"required" json:"sql"` // 执行sql
Remark string `json:"remark"` // 执行备注