...
|
...
|
@@ -148,6 +148,9 @@ func (repo *EvaluationCycleRepository) Find(queryOptions map[string]interface{}) |
|
|
query.Where("time_end>=?", t)
|
|
|
}
|
|
|
|
|
|
// 按创建时间降序
|
|
|
query.Order("created_at DESC")
|
|
|
|
|
|
count, err := query.SelectAndCount()
|
|
|
if err != nil {
|
|
|
return 0, nil, err
|
...
|
...
|
|