feat:完善项目信息

This commit is contained in:
henry
2022-01-21 11:42:58 +08:00
parent dda20eb011
commit 1c027dd2d1
23 changed files with 125 additions and 113 deletions

View File

@ -183,7 +183,7 @@ func (c *Index) static() (*InstanceStaticInfo, error) {
mTechnologyAchievement := model.NewTechnologyAchievement()
if err = model2.Count(mTechnologyAchievement.TechnologyAchievement, &out.AchievementCount, model2.NewWhere("shelf_status", model2.ShelfStatusForUp),
model2.NewWhere("status", model2.TechnologyAchievementStatusForAgree)); err != nil {
model2.NewWhere("status", model2.TechnologyStatusKindForAgree)); err != nil {
return nil, err
}
@ -197,7 +197,7 @@ func (c *Index) static() (*InstanceStaticInfo, error) {
mTechnologyDemand := model.NewTechnologyDemand()
if err = model2.Count(mTechnologyDemand.TechnologyDemand, &out.DemandCount,
model2.NewWhere("status", model2.TechnologyDemandStatusForAgree)); err != nil {
model2.NewWhere("status", model2.TechnologyStatusKindForAgree)); err != nil {
return nil, err
}
// 对接信息