|
|
|
@ -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(){
|
|
|
|
|