正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -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) |
-
请 注册 或 登录 后发表评论