Commit f88e2b537585e4dda522941d84d54464ba40ef00
1 parent
2c2304bf92
Exists in
master
and in
1 other branch
start task...
Showing 1 changed file with 1 additions and 1 deletions
talkonlineweb/src/main/java/com/lyms/talkonlineweb/task/PushArticleTask.java
View file @
f88e2b5
| ... | ... | @@ -30,7 +30,7 @@ |
| 30 | 30 | @Autowired |
| 31 | 31 | private LymsPushedartService lymsPushedartService;//推送的历史记录 |
| 32 | 32 | |
| 33 | -// @Scheduled(initialDelay=1000, fixedRate=5000) | |
| 33 | + @Scheduled(initialDelay=1000, fixedRate=5000) | |
| 34 | 34 | public void pushArtcle(){ |
| 35 | 35 | log.info("开始给患者推送文章>>>>>>"); |
| 36 | 36 | List<LymsArticle> aLst=lymsArticleService.sltNeedPush();//获取待推送文章 |