From 7e942a09ec237523e22bd0a9b21d5d3fd44f1b6b Mon Sep 17 00:00:00 2001 From: mash Date: Wed, 1 Nov 2023 13:52:54 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E5=AE=9A=E6=97=B6=E4=BB=BB=E5=8A=A1?= =?UTF-8?q?=E6=97=B6=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/ydool/staff/controller/PersonnelController.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/ydool/staff/controller/PersonnelController.java b/src/main/java/com/ydool/staff/controller/PersonnelController.java index ad9126e..c8e5d40 100644 --- a/src/main/java/com/ydool/staff/controller/PersonnelController.java +++ b/src/main/java/com/ydool/staff/controller/PersonnelController.java @@ -127,8 +127,8 @@ public class PersonnelController extends BaseController { @GetMapping("getPersonnelRetire") @ApiOperation(value = "查看近两月是否有人退休") - //@Scheduled(cron = "0 0 7 * * ?") /*每天7点更新一次*/ - @Scheduled(cron = "0 */1 * * * ?") /*每天7点更新一次*/ + @Scheduled(cron = "0 0 7 * * ?") /*每天7点更新一次*/ + //@Scheduled(cron = "0 */1 * * * ?") /*每分钟更新一次*/ public void getPersonnelRetire(){ personnelService.getPersonnelRetire(); }