Commit 6eacb74a authored by chenzhao's avatar chenzhao

修改代码

parent e80ed4fe
...@@ -59,17 +59,8 @@ public class RulePlanService { ...@@ -59,17 +59,8 @@ public class RulePlanService {
planRo.setIsSendApp(true); planRo.setIsSendApp(true);
} }
if (!ValidationUtil.isEmpty(extraUserIds)) {
List<String> finalUserIds = userIds;
extraUserIds.forEach(id -> {
if (!finalUserIds.contains(id)) {
finalUserIds.add(id);
}
});
userIds = finalUserIds;
}
planRo.setSendTime(DateUtil.date2LongStr(new Date())); planRo.setSendTime(DateUtil.date2LongStr(new Date()));
planRo.setRecivers(userIds); planRo.setRecivers(extraUserIds);
planRo.setExtras(map); planRo.setExtras(map);
return planRo; return planRo;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment