feat:完善项目信息

This commit is contained in:
henry
2022-01-19 22:13:28 +08:00
parent f0a450b2e5
commit 641e738033
7 changed files with 416 additions and 22 deletions

View File

@ -121,7 +121,6 @@ func (c *Company) Form(params *BasicParams, other *config.IdentityForCompany) er
}
mManageCompany.Product = other.Product
mManageCompany.Url = other.Url
mManageCompany.License = other.FilterLicense()
mManageCompany.SetIndustryAttribute(params.Industrys)
mManageCompany.SetKeywordAttribute(params.Keywords)
mManageCompany.SetDirectionAttribute(other.Directions)
@ -136,6 +135,7 @@ func (c *Company) Form(params *BasicParams, other *config.IdentityForCompany) er
// 查询手机号码是否在当前租户下是否已经注册了
mManageCompany.Name = params.Name
mManageCompany.Code = params.Code
mManageCompany.License = other.FilterLicense()
if isExist, err := params.isExist(mManageCompany.ManageCompany, model2.NewWhere("tenant_id", params.TenantID),
model2.NewWhere("code", params.Code)); err != nil {