...
|
...
|
@@ -34,9 +34,6 @@ func (company *Company) Update(data map[string]interface{}) error { |
|
|
if companyId, ok := data["companyId"]; ok {
|
|
|
company.CompanyId = companyId.(int64)
|
|
|
}
|
|
|
if companyId, ok := data["companyId"]; ok {
|
|
|
company.CompanyInfo.CompanyId = companyId.(int64)
|
|
|
}
|
|
|
if name, ok := data["name"]; ok {
|
|
|
company.CompanyInfo.Name = name.(string)
|
|
|
}
|
...
|
...
|
|