From c0b0138ddbf9cb3b8a072ed308bc0a42f9d5c351 Mon Sep 17 00:00:00 2001 From: JunheZhang <1551368011@qq.com> Date: Wed, 1 Jun 2022 10:55:36 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BC=80=E5=90=AF=E5=AE=9A=E6=97=B6=E4=BB=BB?= =?UTF-8?q?=E5=8A=A1=EF=BC=8C=E6=AF=8F=E9=9A=94=E4=B8=80=E5=88=86=E9=92=9F?= =?UTF-8?q?=E6=9B=B4=E6=96=B0=E4=BB=BB=E5=8A=A1=E5=88=97=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../modules/taskList/controller/ShangTangController.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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();