|
@@ -3,6 +3,7 @@ package com.dgtly.quartz.task;
|
|
import com.dgtly.common.utils.StringUtils;
|
|
import com.dgtly.common.utils.StringUtils;
|
|
import com.dgtly.sync.service.AnalysisDiyCustomerComponent;
|
|
import com.dgtly.sync.service.AnalysisDiyCustomerComponent;
|
|
import com.dgtly.sync.service.HanaOrderComponent;
|
|
import com.dgtly.sync.service.HanaOrderComponent;
|
|
|
|
+import com.dgtly.sync.service.RelationCustomerOnlineComponent;
|
|
import lombok.extern.slf4j.Slf4j;
|
|
import lombok.extern.slf4j.Slf4j;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.stereotype.Component;
|
|
import org.springframework.stereotype.Component;
|
|
@@ -21,6 +22,9 @@ public class RyTask
|
|
private AnalysisDiyCustomerComponent analysisDiyCustomerComponent;
|
|
private AnalysisDiyCustomerComponent analysisDiyCustomerComponent;
|
|
@Autowired
|
|
@Autowired
|
|
private HanaOrderComponent hanaOrderComponent;
|
|
private HanaOrderComponent hanaOrderComponent;
|
|
|
|
+ @Autowired
|
|
|
|
+ private RelationCustomerOnlineComponent relationCustomerOnlineComponent;
|
|
|
|
+
|
|
// private static RyTask ryTask;
|
|
// private static RyTask ryTask;
|
|
// @PostConstruct
|
|
// @PostConstruct
|
|
// public void init() {
|
|
// public void init() {
|
|
@@ -43,15 +47,23 @@ public class RyTask
|
|
log.info("执行无参方法");
|
|
log.info("执行无参方法");
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ /*立邦人员定时同步*/
|
|
public void analyDiyCustomer(){
|
|
public void analyDiyCustomer(){
|
|
analysisDiyCustomerComponent.analyDiyCustomer();
|
|
analysisDiyCustomerComponent.analyDiyCustomer();
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ /*HANA订单数据定时同步*/
|
|
public void hanaSalesOrderSync() throws Exception {
|
|
public void hanaSalesOrderSync() throws Exception {
|
|
hanaOrderComponent.hanaSalesOrderSync();
|
|
hanaOrderComponent.hanaSalesOrderSync();
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+ /*HANA交货单数据定时同步*/
|
|
public void hanaDeliverOrderSync() throws Exception {
|
|
public void hanaDeliverOrderSync() throws Exception {
|
|
hanaOrderComponent.hanaDeliverOrderSync();
|
|
hanaOrderComponent.hanaDeliverOrderSync();
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ /*关联经销商上线定时任务*/
|
|
|
|
+ public void relationCustomerOnlineSync() throws Exception {
|
|
|
|
+ relationCustomerOnlineComponent.relationCustomerOnlineSync();
|
|
|
|
+ }
|
|
}
|
|
}
|