修复在线修改定时任务多次执行时事务超时问题

This commit is contained in:
孟帅
2023-02-09 15:42:30 +08:00
parent 7153327b13
commit 7cf1b8ce8e
4 changed files with 17 additions and 7 deletions

View File

@@ -139,7 +139,6 @@ func RefreshStatus(sysCron *entity.SysCron) (err error) {
if sysCron == nil {
return
}
g.DumpWithType(sysCron)
if sysCron.Status == consts.StatusEnabled {
return Start(sysCron)