From 33ebd375c8e1e8bcc60fc7a601b810c5a7fc567d Mon Sep 17 00:00:00 2001 From: jagger Date: Mon, 18 Aug 2025 11:27:20 +0800 Subject: [PATCH] fix Signed-off-by: jagger --- internal/logic/xjlab/pagelisttasklogic.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/logic/xjlab/pagelisttasklogic.go b/internal/logic/xjlab/pagelisttasklogic.go index f01a2f71..94cb409c 100644 --- a/internal/logic/xjlab/pagelisttasklogic.go +++ b/internal/logic/xjlab/pagelisttasklogic.go @@ -132,7 +132,7 @@ func (l *PageListTaskLogic) buildBaseQuery(req *types.XJLABTaskReq) *gorm.DB { // 时间范围筛选 if req.StartTime != "" && req.EndTime != "" { - db = db.Where("created_time BETWEEN ? AND ?", req.StartTime, req.EndTime) + db = db.Where("start_time BETWEEN ? AND ?", req.StartTime, req.EndTime) } return db