feat:完善项目信息

This commit is contained in:
henry
2022-01-19 13:23:07 +08:00
parent 86fa9cd853
commit 61d345b571
10 changed files with 355 additions and 206 deletions

View File

@ -50,8 +50,8 @@ func (c *Expert) Launch(params *BasicParams, other *config.IdentityForExpert) er
mUserExpert.ID = 0
}
mManageExpert.TenantID = c.tenantID
mManageExpert.ResearchID = other.ResearchID
mManageExpert.LaboratoryID = other.LaboratoryID
mManageExpert.ResearchID = other.ConvertResearch()
mManageExpert.LaboratoryID = other.ConvertLaboratory()
mManageExpert.Image.Image = params.Image
mManageExpert.Name = params.Name
mManageExpert.Mobile = params.Mobile

View File

@ -49,7 +49,7 @@ func (c *Laboratory) Launch(params *BasicParams, other *config.IdentityForLabora
mManageLaboratory.ID = 0
}
mManageLaboratory.TenantID = c.tenantID
mManageLaboratory.ResearchID = other.ResearchID
mManageLaboratory.ResearchID = other.ConvertResearch()
mManageLaboratory.Image.Image = params.Image
mManageLaboratory.Name = params.Name
mManageLaboratory.Code = params.Code