From c22b7331c0d215ba4b2e4b503d22dae853540290 Mon Sep 17 00:00:00 2001 From: ZY <zc857179121@qq.com> Date: 星期三, 14 五月 2025 14:48:28 +0800 Subject: [PATCH] 单据对接 --- src/main/java/com/zy/nc/task/PlanOrderTask.java | 23 +++++++++++++++++++++++ 1 files changed, 23 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..30b8b99 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(); @@ -29,5 +40,17 @@ log.error(returnT.getMsg()); } } + /** + * 杞簱 + * + * @return + */ + @Scheduled(cron = "0/3 * * * * ? ") + public void execute3() { +// ReturnT<String> returnT = planOrderHandler.start2(); +// if (!returnT.isSuccess()) { +// log.error(returnT.getMsg()); +// } + } } -- Gitblit v1.9.1