Browse Source

fix: alter get user ids method for InformAddresseeCO

linwenhua 2 years ago
parent
commit
b2ae506da0

+ 1 - 4
smsb-customer-manager-client/src/main/java/com/inspur/customer/object/tenant/InformAddresseeCO.java

@@ -41,10 +41,7 @@ public class InformAddresseeCO implements Serializable {
     }
 
     public List<String> getUserIds() {
-        if (Boolean.TRUE.equals(informStrategy.getWechatApplet())) {
-            return users.stream().map(KeycloakUserCO::getId).filter(StringUtils::isNotBlank).collect(Collectors.toList());
-        }
-        return Collections.emptyList();
+        return users.stream().map(KeycloakUserCO::getId).filter(StringUtils::isNotBlank).collect(Collectors.toList());
     }
 
     public List<String> getWeChatAppletAddressees() {