From 33853a1098ce1f2a5b7e8c82e3a862d73c8af3ad Mon Sep 17 00:00:00 2001 From: 10001392 <1055202292@qq.com> Date: Fri, 3 Jan 2025 09:44:26 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E5=AE=9A=E6=97=B6=E4=BB=BB=E5=8A=A1?= =?UTF-8?q?=E3=80=91HANA=E8=8E=B7=E5=8F=96=E7=89=A9=E6=96=99=E7=9A=84?= =?UTF-8?q?=E9=87=87=E8=B4=AD=E5=B1=9E=E6=80=A7=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../nflg/product/material/job/SaticScheduleTask.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/nflg_project_dev/material/src/main/java/com/nflg/product/material/job/SaticScheduleTask.java b/nflg_project_dev/material/src/main/java/com/nflg/product/material/job/SaticScheduleTask.java index e21db39f..0548ea0a 100644 --- a/nflg_project_dev/material/src/main/java/com/nflg/product/material/job/SaticScheduleTask.java +++ b/nflg_project_dev/material/src/main/java/com/nflg/product/material/job/SaticScheduleTask.java @@ -167,9 +167,9 @@ public class SaticScheduleTask { * 只针对物料状态material_state为1:激活 2:禁止采购 3:售后专用 * * 流程状态:15:已审核 100: 历史正式物料(已审核) */ -// @Scheduled(cron = "0 0 7 * * ?") -//// @Scheduled(cron = "0 0/2 * * * ? ") // 测试使用,每2分钟 -// public void syncMaterialPurchasePropInfo() throws Exception { -// materialMainService.syncMaterialPurchasePropInfo(); -// } + @Scheduled(cron = "0 0 7 * * ?") +// @Scheduled(cron = "0 0/2 * * * ? ") // 测试使用,每2分钟 + public void syncMaterialPurchasePropInfo() throws Exception { + materialMainService.syncMaterialPurchasePropInfo(); + } }