return;
}
for (Reminds remind : reminds) {
Remind content = reminderService.findRemind(remind.getPid());
try {
NotifyObject data = new NotifyObject();
data.setTargetId(remind.getScopePid());
data.setStartTime(formatter.reformat(content.getStartDate()));
data.setEndTime(formatter.reformat(content.getEndDate()));
data.setContent(content.getContent());
CapUserDetails userDetail = allPrincipal
.get(data.getTargetId());
if (userDetail != null) {
SocketIOClient client = userDetail.getSocketClient();
if (client != null) {
String event = remind.getStyleTyp().equals(
RemindEnum.TEXT.getCode()) ? "textEvent"