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