From f2d80dbaa80a1283bf1c0fe9ae1d280832652d7f Mon Sep 17 00:00:00 2001 From: zhangqian <zhangqian@123.com> Date: 星期四, 02 十一月 2023 18:14:22 +0800 Subject: [PATCH] 增加问题诊断定时任务和查询接口,增加按channel查询工序开始和结束时间 --- model/task_status_sync.go | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/model/task_status_sync.go b/model/task_status_sync.go index 503af79..78560b3 100644 --- a/model/task_status_sync.go +++ b/model/task_status_sync.go @@ -71,7 +71,7 @@ } if len(slf.IDs) != 0 { - db = db.Where("id in ?", slf.IDs) + db = db.Where("id in (?)", slf.IDs) } if slf.Order != "" { -- Gitblit v1.8.0