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"`