diff --git a/renren-admin/src/main/java/io/renren/modules/taskList/controller/ShangTangController.java b/renren-admin/src/main/java/io/renren/modules/taskList/controller/ShangTangController.java index fe18c9d9..7d23aabc 100644 --- a/renren-admin/src/main/java/io/renren/modules/taskList/controller/ShangTangController.java +++ b/renren-admin/src/main/java/io/renren/modules/taskList/controller/ShangTangController.java @@ -48,8 +48,8 @@ public class ShangTangController { */ @RequestMapping("insertTaskList") @ApiOperation("场景任务列表插入") - //@Scheduled(cron = "0 */1 * * * ?") - //@Transactional + @Scheduled(cron = "0 */1 * * * ?") + @Transactional public void insertTaskList(){ taskListControllerDao.deleteAll();