...
|
...
|
@@ -119,7 +119,7 @@ func UpdateDepartmentData(data ModuleDeparmentData) error { |
|
|
return errors.New("更新部门数据失败")
|
|
|
}
|
|
|
//更新部门管理员
|
|
|
err = models.ChangeDepartmentCharge(data.Id, departmentData.Id, data.Charge, o)
|
|
|
err = models.ChangeDepartmentCharge(data.CompanyId, departmentData.Id, data.Charge, o)
|
|
|
if err != nil {
|
|
|
o.Rollback()
|
|
|
log.Error("变更公司管理员失败,err:%s", err)
|
...
|
...
|
|