|
|
@@ -92,7 +92,7 @@ public class AlertConfigurationServiceImpl implements IAlertConfigurationService
|
|
|
//diy
|
|
|
if( alert.getOrgCode() ==null || ("null").equals(alert.getOrgCode())){
|
|
|
for (String userType:userTypeList){
|
|
|
- String [] userTypes = userType.split(",");
|
|
|
+ String [] userTypes = alert.getUserType().split(",");
|
|
|
boolean exists = Arrays.stream(userTypes)
|
|
|
.anyMatch(str -> str.equals(userType));
|
|
|
if (exists){
|