feat:优化项目信息
This commit is contained in:
@ -176,7 +176,7 @@ func (c *Index) static() (*InstanceStaticInfo, error) {
|
||||
// 专利信息
|
||||
mTechnologyPatent := model.NewTechnologyPatent()
|
||||
|
||||
if err = model2.Count(mTechnologyPatent.TechnologyPatent, &out.PatentCount, model2.NewWhere("shelf_status", model2.ShelfStatusForUp)); err != nil {
|
||||
if err = model2.Count(mTechnologyPatent.TechnologyPatent, &out.PatentCount); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
//成果信息
|
||||
|
Reference in New Issue
Block a user