|
|
@ -507,6 +507,9 @@ func (s *Rpc) UpdateBaseOrganization(ctx context.Context, in *BaseOrganizationPr
|
|
|
|
LogUtil.Error(ErrorConst.SqlUpdateError, "执行UpdateOrgManager时发生严重错误:"+err.Error())
|
|
|
|
LogUtil.Error(ErrorConst.SqlUpdateError, "执行UpdateOrgManager时发生严重错误:"+err.Error())
|
|
|
|
return nil, err
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
} else {
|
|
|
|
|
|
|
|
//删除部门领导
|
|
|
|
|
|
|
|
BaseOrganizationManagerDao.DeleteOrgManagerByOrgIds([]string{in.OrgId})
|
|
|
|
}
|
|
|
|
}
|
|
|
|
//记录日志
|
|
|
|
//记录日志
|
|
|
|
ms, err := BaseOrganizationDao.GetByIds([]string{in.OrgId})
|
|
|
|
ms, err := BaseOrganizationDao.GetByIds([]string{in.OrgId})
|
|
|
|