feat:完善项目信息
This commit is contained in:
@ -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
|
||||
}
|
||||
// 对接信息
|
||||
|
Reference in New Issue
Block a user