This commit is contained in:
parent
abacd77904
commit
632ed9a6e3
|
@ -97,8 +97,14 @@ public class ActivitiNoticeAspect {
|
|||
dto.setCreator(sysUserService.getByUsername("admin").getId());
|
||||
dto.setCreateDate(new Date());
|
||||
sysNoticeService.save(dto);
|
||||
Thread.sleep(100);
|
||||
work_.remove(kv.get("id").toString());
|
||||
new Thread(() -> {
|
||||
try {
|
||||
Thread.sleep(300);
|
||||
} catch (InterruptedException e) {
|
||||
throw new RuntimeException(e);
|
||||
}
|
||||
work_.remove(kv.get("id").toString());
|
||||
}).start();
|
||||
} catch (Exception e) {
|
||||
logger.error("发送通知消息异常", e);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue