From dc9e34c642234182d3b1ce861565f29bb38761f9 Mon Sep 17 00:00:00 2001 From: xs Date: Wed, 3 Jul 2024 15:53:48 +0800 Subject: [PATCH] =?UTF-8?q?2.5.4=20job=EF=BC=9A=20=E5=90=8C=E6=AD=A5?= =?UTF-8?q?=E7=89=A9=E6=96=99=E4=BF=A1=E6=81=AF=E5=A2=9E=E5=8A=A0=E6=9C=80?= =?UTF-8?q?=E6=96=B0=E6=9B=B4=E6=96=B0=E6=97=B6=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../hw-job/src/main/java/com/hw/job/task/RyTask.java | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/hw-modules/hw-job/src/main/java/com/hw/job/task/RyTask.java b/hw-modules/hw-job/src/main/java/com/hw/job/task/RyTask.java index e119ddf..8b31ff7 100644 --- a/hw-modules/hw-job/src/main/java/com/hw/job/task/RyTask.java +++ b/hw-modules/hw-job/src/main/java/com/hw/job/task/RyTask.java @@ -4,6 +4,7 @@ import com.hw.common.core.constant.SecurityConstants; import com.hw.dms.api.RemoteDmsService; import com.hw.ems.api.RemoteEmsService; import com.hw.jindie.api.RemoteJindieService; +import com.hw.jindie.api.domain.vo.ErpSyncInfoVo; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Component; import com.hw.common.core.utils.StringUtils; @@ -71,9 +72,11 @@ public class RyTask System.out.println("++同步ERP中物料供应商++ErpSupplierInfo"); remoteJindieService.syncSupplierInfoFromErp(SecurityConstants.INNER); } - public void syncMaterialInfoFromErp(){ + public void syncMaterialInfoFromErp(String maxErpModifyDate){ + ErpSyncInfoVo erpSyncInfoVo = new ErpSyncInfoVo(); + erpSyncInfoVo.setMaxErpModifyDate(maxErpModifyDate); System.out.println("++同步ERP中物料信息++ErpMesMaterialInfo"); - remoteJindieService.syncMaterialInfoFromErp(SecurityConstants.INNER); + remoteJindieService.syncMaterialInfoFromErp(erpSyncInfoVo,SecurityConstants.INNER); } public void syncProjectInfoFromErp(){