|
@@ -249,10 +249,8 @@ public class MessageInfoServiceImpl extends ServiceImpl<MessageInfoMapper, Messa
|
|
throw new MessageInfoException(MessageInfoErrorEnums.Code.MESSAGE_DEPT_EMPTY);
|
|
throw new MessageInfoException(MessageInfoErrorEnums.Code.MESSAGE_DEPT_EMPTY);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
- //测试联系人1
|
|
|
|
- if (messageType.equals(BusinessConstants.DICT_ITEM_ID_2) && scopeIds.contains("1")) {
|
|
|
|
- messageClientIds.add("c1");
|
|
|
|
- messageClientIds.add("c2");
|
|
|
|
|
|
+ if (messageType.equals(BusinessConstants.DICT_ITEM_ID_2)) {
|
|
|
|
+ messageClientIds.addAll(scopeIds);
|
|
} else {
|
|
} else {
|
|
Set<String> allUserIds = sysDeptService.getAllUserIds(scopeIds, false);
|
|
Set<String> allUserIds = sysDeptService.getAllUserIds(scopeIds, false);
|
|
if (CollUtil.isNotEmpty(allUserIds)) {
|
|
if (CollUtil.isNotEmpty(allUserIds)) {
|