feat:优化项目信息
This commit is contained in:
@ -20,14 +20,14 @@ type PatentHandle func(session *session.Enterprise) *Patent
|
||||
type (
|
||||
// PatentInfo 专利信息
|
||||
PatentInfo struct {
|
||||
ID string `json:"id"`
|
||||
Kind model2.SysParentKind `json:"kind"`
|
||||
Title string `json:"title"`
|
||||
ApplyName string `json:"apply_name"`
|
||||
ApplyCode string `json:"apply_code"`
|
||||
ApplyAt string `json:"apply_at"`
|
||||
Inventor string `json:"inventor"`
|
||||
CreatedAt time.Time `json:"created_at"`
|
||||
ID string `json:"id"`
|
||||
Kind model2.TechnologyPatentKind `json:"kind"`
|
||||
Title string `json:"title"`
|
||||
ApplyName string `json:"apply_name"`
|
||||
ApplyCode string `json:"apply_code"`
|
||||
ApplyAt string `json:"apply_at"`
|
||||
Inventor string `json:"inventor"`
|
||||
CreatedAt time.Time `json:"created_at"`
|
||||
}
|
||||
)
|
||||
|
||||
@ -72,7 +72,7 @@ func (c *Patent) List(kind int, title, applyCode, openCode, ipcCode string, page
|
||||
Where: model2.NewWhereLike("ipc_code", ipcCode),
|
||||
})
|
||||
}
|
||||
out := make([]*model2.SysPatent, 0)
|
||||
out := make([]*model2.TechnologyPatent, 0)
|
||||
|
||||
var count int64
|
||||
|
||||
|
Reference in New Issue
Block a user