Browse Source

fix

Signed-off-by: jagger <cossjie@foxmail.com>
pull/534/head
jagger 3 months ago
parent
commit
33ebd375c8
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      internal/logic/xjlab/pagelisttasklogic.go

+ 1
- 1
internal/logic/xjlab/pagelisttasklogic.go View File

@@ -132,7 +132,7 @@ func (l *PageListTaskLogic) buildBaseQuery(req *types.XJLABTaskReq) *gorm.DB {


// 时间范围筛选 // 时间范围筛选
if req.StartTime != "" && req.EndTime != "" { 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 return db


Loading…
Cancel
Save