feat:优化项目信息

This commit is contained in:
henry
2022-02-10 11:36:47 +08:00
parent 1b5026edce
commit 412aaaf1af
6 changed files with 17 additions and 9 deletions

View File

@ -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
}
//成果信息