Browse Source

Merge branch 'aj_overseas_custorm' into debug

hongze 1 year ago
parent
commit
8dc87f0a80
1 changed files with 2 additions and 1 deletions
  1. 2 1
      controllers/english_report/english_company.go

+ 2 - 1
controllers/english_report/english_company.go

@@ -327,7 +327,8 @@ func (this *EnglishCompanyController) Save() {
 		item.SellerId = req.SellerId
 		item.SellerName = seller.RealName
 		item.ModifyTime = nowTime
-		updateCols := []string{"CompanyName", "CountryCode", "Country", "SellerId", "SellerName", "ModifyTime"}
+		item.Nation = req.Nation
+		updateCols := []string{"CompanyName", "CountryCode", "Country", "SellerId", "SellerName", "ModifyTime", "Nation"}
 		if e = item.Update(updateCols); e != nil {
 			br.Msg = "保存失败"
 			br.ErrMsg = "更新英文客户信息失败, Err:" + e.Error()