feat:增加科技产品数据模型管理

This commit is contained in:
henry
2021-11-26 10:15:49 +08:00
parent f82457a503
commit 3908a05bfa
15 changed files with 458 additions and 84 deletions

View File

@ -97,7 +97,7 @@ func (c *Patent) Form(params *PatentParams) error {
if params.ID > 0 {
mTechnologyPatent.ID = params.ID
isExist, err := model2.FirstField(mTechnologyPatent.TechnologyPatent, []string{"id", "uid"})
isExist, err := model2.FirstField(mTechnologyPatent.TechnologyPatent, []string{"id", "m_uid"})
if err != nil {
return err