正在显示
1 个修改的文件
包含
2 行增加
和
2 行删除
@@ -329,7 +329,7 @@ func UpdateEmployeeData(data ModuleEmployee) error { | @@ -329,7 +329,7 @@ func UpdateEmployeeData(data ModuleEmployee) error { | ||
329 | log.Error("UpdateUserById err:%s", err) | 329 | log.Error("UpdateUserById err:%s", err) |
330 | return errors.New("更新用户数据失败") | 330 | return errors.New("更新用户数据失败") |
331 | } | 331 | } |
332 | - ucompany.NickName = data.Name | 332 | + |
333 | ucompany.NickName = data.Name | 333 | ucompany.NickName = data.Name |
334 | ucompany.OpenId = data.OpenId | 334 | ucompany.OpenId = data.OpenId |
335 | ucompany.Sex = data.Sex | 335 | ucompany.Sex = data.Sex |
@@ -347,7 +347,7 @@ func UpdateEmployeeData(data ModuleEmployee) error { | @@ -347,7 +347,7 @@ func UpdateEmployeeData(data ModuleEmployee) error { | ||
347 | ucompany.ExtraText = data.ExtraText | 347 | ucompany.ExtraText = data.ExtraText |
348 | cols := []string{"NickName", "OpenId", "Sex", "JobNum", | 348 | cols := []string{"NickName", "OpenId", "Sex", "JobNum", |
349 | "Phone", "PrivatePhone", "Email", "ExtensionNum", "Workspace", | 349 | "Phone", "PrivatePhone", "Email", "ExtensionNum", "Workspace", |
350 | - "IsBusiness", "Status", "Avatar", "Remarks", "AdminType", "ChargeStatus", | 350 | + "IsBusiness", "Avatar", "Remarks", "AdminType", "ChargeStatus", |
351 | "ExtraText", | 351 | "ExtraText", |
352 | } | 352 | } |
353 | err = models.UpdateUserCompanyById(ucompany, cols, o) | 353 | err = models.UpdateUserCompanyById(ucompany, cols, o) |
-
请 注册 或 登录 后发表评论