|
@@ -222,6 +222,13 @@ public class AuthInfoServiceImpl implements AuthInfoService {
|
|
tbOrg.setLogo(o.getLogo());
|
|
tbOrg.setLogo(o.getLogo());
|
|
}
|
|
}
|
|
tbOrgSet.add(tbOrg);
|
|
tbOrgSet.add(tbOrg);
|
|
|
|
+ } else {
|
|
|
|
+ tbOrg.setAccessKey(o.getAccessKey());
|
|
|
|
+ tbOrg.setAccessSecret(o.getAccessSecret());
|
|
|
|
+ tbOrg.setLogo(o.getLogoUrl());
|
|
|
|
+ tbOrgService.saveOrUpdate(tbOrg);
|
|
|
|
+ cacheService.updateOrgCache(tbOrg.getId());
|
|
|
|
+ cacheService.updateOrgCodeCache(tbOrg.getCode());
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|