From 561e438c8ff30de682172d58f0e7c6435a7953b4 Mon Sep 17 00:00:00 2001 From: renzhiyuan <465386466@qq.com> Date: Mon, 30 Dec 2024 14:10:46 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/models/croncmdmodel/cron_cmd.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/models/croncmdmodel/cron_cmd.go b/app/models/croncmdmodel/cron_cmd.go index d0b98d8..88c4de2 100644 --- a/app/models/croncmdmodel/cron_cmd.go +++ b/app/models/croncmdmodel/cron_cmd.go @@ -13,10 +13,11 @@ var ( // 实体 type CronCmd struct { - CmdId int `xorm:"'cmd_id' UNSIGNED INT pk autoincr""` + CmdId int `xorm:"'cmd_id' UNSIGNED INT pk autoincr"` CmdName string `xorm:"'cmd_name' varchar(20)"` UserIds string `xorm:"'user_ids' varchar(50)"` EntryId int `xorm:"'entry_id' int(10)"` + IsDynamicUsers int `xorm:"'is_dynamic_users' TINYINT"` ReadDbId int `xorm:"'read_db_id' int(10)"` WriteDbId int `xorm:"'write_db_id' int(11)"` ExecuteType int `xorm:"'execute_type' TINYINT"`