作者 tangxvhui

修复一些问题

@@ -123,7 +123,7 @@ func (repo *StaffAssessTaskRepository) Find(queryOptions map[string]interface{}) @@ -123,7 +123,7 @@ func (repo *StaffAssessTaskRepository) Find(queryOptions map[string]interface{})
123 if v, ok := queryOptions["cycleId"]; ok { 123 if v, ok := queryOptions["cycleId"]; ok {
124 query.Where("cycle_id=?", v) 124 query.Where("cycle_id=?", v)
125 } 125 }
126 - if v, ok := queryOptions["executorId"].(int); ok && v > 0 { 126 + if v, ok := queryOptions["executorId"]; ok {
127 query.Where(`executor_id @>'[?]'`, v) 127 query.Where(`executor_id @>'[?]'`, v)
128 } 128 }
129 if v, ok := queryOptions["evaluationProjectId"]; ok { 129 if v, ok := queryOptions["evaluationProjectId"]; ok {