From 05e0d3af6b31300b9ef06a1214e921b8817c9c18 Mon Sep 17 00:00:00 2001
From: zhang <zc857179121@qq.com>
Date: 星期六, 17 五月 2025 08:54:51 +0800
Subject: [PATCH] 接口编写

---
 src/main/java/com/zy/nc/task/PlanOrderTask.java |   36 ++++++++++++++++++++++++++++++++++++
 1 files changed, 36 insertions(+), 0 deletions(-)

diff --git a/src/main/java/com/zy/nc/task/PlanOrderTask.java b/src/main/java/com/zy/nc/task/PlanOrderTask.java
index 6ec02e4..8f55581 100644
--- a/src/main/java/com/zy/nc/task/PlanOrderTask.java
+++ b/src/main/java/com/zy/nc/task/PlanOrderTask.java
@@ -14,6 +14,12 @@
     @Autowired
     private PlanOrderHandler planOrderHandler;
 
+
+    /**
+     * 鍙戣揣
+     *
+     * @return
+     */
     @Scheduled(cron = "0/3 * * * * ? ")
     public void execute1() {
         ReturnT<String> returnT = planOrderHandler.start1();
@@ -22,6 +28,11 @@
         }
     }
 
+    /**
+     * 杞簱
+     *
+     * @return
+     */
     @Scheduled(cron = "0/3 * * * * ? ")
     public void execute2() {
         ReturnT<String> returnT = planOrderHandler.start2();
@@ -30,4 +41,29 @@
         }
     }
 
+    /**
+     * 閲囪喘鍒拌揣鍗�
+     *
+     * @return
+     */
+    @Scheduled(cron = "0/3 * * * * ? ")
+    public void execute3() {
+        ReturnT<String> returnT = planOrderHandler.start3();
+        if (!returnT.isSuccess()) {
+            log.error(returnT.getMsg());
+        }
+    }
+
+    /**
+     * 鐩樼偣鍗�
+     *
+     * @return
+     */
+    @Scheduled(cron = "0/3 * * * * ? ")
+    public void execute4() {
+        ReturnT<String> returnT = planOrderHandler.start4();
+        if (!returnT.isSuccess()) {
+            log.error(returnT.getMsg());
+        }
+    }
 }

--
Gitblit v1.9.1