...
|
...
|
@@ -269,6 +269,7 @@ func (repository *CooperationProjectRepository) Find(queryOptions map[string]int |
|
|
if count, err := query.SelectAndCount(); err != nil {
|
|
|
return 0, cooperationProjects, err
|
|
|
} else {
|
|
|
if count > 0 {
|
|
|
for _, cooperationProjectModel := range cooperationProjectModels {
|
|
|
// 获取共创模式
|
|
|
cooperationModeModel := new(models.CooperationMode)
|
...
|
...
|
@@ -282,6 +283,7 @@ func (repository *CooperationProjectRepository) Find(queryOptions map[string]int |
|
|
cooperationProjects = append(cooperationProjects, cooperationProject)
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
return int64(count), cooperationProjects, nil
|
|
|
}
|
|
|
}
|
...
|
...
|
|