|
|
@@ -84,7 +84,10 @@ public class LoginController implements LoginControllerAPI {
|
|
|
if (StringUtils.hasText(result.getCheckOrg())){
|
|
|
String[] aa=result.getCheckOrg().replaceAll(" ","").split(",");
|
|
|
for (int i = 0; i < aa.length; i++) {
|
|
|
- organizationList.add(organizationService.getById(aa[i]));
|
|
|
+ Organization organization=organizationService.getById(aa[i]);
|
|
|
+ if(organization!=null){
|
|
|
+ organizationList.add(organization);
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
try {
|