From 5c12c5a4490898f20259e9de83767c4dadff10ba Mon Sep 17 00:00:00 2001 From: wjli <591616088@qq.com> Date: 星期二, 16 五月 2023 15:42:05 +0800 Subject: [PATCH] 1.根据区域进行模糊查询 --- xboot-modules/xboot-your/src/main/java/cn/exrick/xboot/your/controller/wx/TaskController.java | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/xboot-modules/xboot-your/src/main/java/cn/exrick/xboot/your/controller/wx/TaskController.java b/xboot-modules/xboot-your/src/main/java/cn/exrick/xboot/your/controller/wx/TaskController.java index ab06723..1f9602a 100644 --- a/xboot-modules/xboot-your/src/main/java/cn/exrick/xboot/your/controller/wx/TaskController.java +++ b/xboot-modules/xboot-your/src/main/java/cn/exrick/xboot/your/controller/wx/TaskController.java @@ -21,8 +21,8 @@ import java.util.List; @Component -//@Configuration //1.涓昏鐢ㄤ簬鏍囪閰嶇疆绫伙紝鍏煎Component鐨勬晥鏋溿�� -//@EnableScheduling +@Configuration //1.涓昏鐢ㄤ簬鏍囪閰嶇疆绫伙紝鍏煎Component鐨勬晥鏋溿�� +@EnableScheduling @AllArgsConstructor public class TaskController { private IOrderTaskService iOrderTaskService; @@ -32,7 +32,7 @@ // @Scheduled(cron = "0/5 * * * * ?") // @Scheduled(cron = "0 */1 * * * ?") // @Scheduled(cron = "0 0 2 * * ?")//姣忓ぉ鍑屾櫒涓ょ偣鎵ц涓�娆� - //@Scheduled(cron = " 0 30 2 * * ?")//姣忓ぉ2.30鎵ц涓�娆� + @Scheduled(cron = " 0 30 2 * * ?")//姣忓ぉ2.30鎵ц涓�娆� //鎴栫洿鎺ユ寚瀹氭椂闂撮棿闅旓紝渚嬪锛�5绉� //@Scheduled(fixedRate=5000) private void configureTasks() { -- Gitblit v1.9.1