feat:完善项目信息
This commit is contained in:
@ -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
|
||||
|
@ -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
|
||||
|
Reference in New Issue
Block a user