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