|
|
@@ -107,6 +107,7 @@ public class OrganizationManagerServiceImpl extends SuperService {
|
|
|
|
|
|
@Autowired
|
|
|
OrganizationServiceImpl organizationServiceImpl;
|
|
|
+
|
|
|
@Autowired
|
|
|
private ProjectBindOrgServiceImpl projectBindOrgServiceImpl;
|
|
|
|
|
|
@@ -136,9 +137,11 @@ public class OrganizationManagerServiceImpl extends SuperService {
|
|
|
if (ObjectUtils.isNotEmpty(orgCodeOrganization) && !orgCodeOrganization.getId().equals(organization.getId())) {
|
|
|
return ResultContent.buildFail(String.format(ResultMessage.NAME_EXIST, param.getOrgCode()));
|
|
|
}
|
|
|
- BeanUtils.copyProperties(param, organization, "code");
|
|
|
+ BeanUtils.copyProperties(param, organization, "code", "oid");
|
|
|
initUpdateEntity(organization);
|
|
|
organizationDao.save(organization);
|
|
|
+
|
|
|
+ organizationServiceImpl.authCenterUpdateOrgInfo(organization.getOid(), organization.getName(), organization.getAuthType(), organization.getRemark());
|
|
|
} else {
|
|
|
if (ObjectUtils.isNotEmpty(orgCodeOrganization)) {
|
|
|
return ResultContent.buildFail(String.format(ResultMessage.NAME_EXIST, param.getOrgCode()));
|