作者 tangxvhui

修复错误

@@ -159,7 +159,7 @@ func (repo *TaskRecordRepository) Find(queryOptions map[string]interface{}) (int @@ -159,7 +159,7 @@ func (repo *TaskRecordRepository) Find(queryOptions map[string]interface{}) (int
159 query.Offset(int(v)) 159 query.Offset(int(v))
160 } 160 }
161 if v, ok := queryOptions["taskStageCheck"]; ok { 161 if v, ok := queryOptions["taskStageCheck"]; ok {
162 - query.Where("task)_stage_check @> ?", v) 162 + query.Where("task_stage_check @> ?", v)
163 } 163 }
164 if v, ok := queryOptions["createdAtDay"]; ok { 164 if v, ok := queryOptions["createdAtDay"]; ok {
165 query.Where(` to_char("created_at" at time zone 'PRC' ,'YYYY-MM-DD') =? `, v) 165 query.Where(` to_char("created_at" at time zone 'PRC' ,'YYYY-MM-DD') =? `, v)