|
@@ -3,7 +3,6 @@ package com.gree.mall.manager.schedule;
|
|
|
|
|
|
|
|
|
import com.gree.mall.manager.logic.SyncOrderInfoLogic;
|
|
|
-import com.gree.mall.manager.logic.policy.AgreementLogic;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
|
|
|
import org.springframework.scheduling.annotation.Scheduled;
|
|
@@ -28,14 +27,14 @@ public class SyncSchedule {
|
|
|
//同步工单数据
|
|
|
@Scheduled(fixedDelay =10* 1000)
|
|
|
public void task() throws IOException {
|
|
|
- syncOrderInfoLogic.syncGuang();
|
|
|
+// syncOrderInfoLogic.syncGuang();
|
|
|
}
|
|
|
|
|
|
|
|
|
//同步工单数据
|
|
|
@Scheduled(fixedDelay = 10* 1000)
|
|
|
public void task2() throws IOException, MessagingException {
|
|
|
- syncOrderInfoLogic.syncDetail();
|
|
|
+// syncOrderInfoLogic.syncDetail();
|
|
|
}
|
|
|
|
|
|
|
|
@@ -43,7 +42,7 @@ public class SyncSchedule {
|
|
|
//同步工单数据
|
|
|
@Scheduled(fixedDelay = 5* 1000)
|
|
|
public void task3() throws IOException, MessagingException {
|
|
|
- syncOrderInfoLogic.task3();
|
|
|
+// syncOrderInfoLogic.task3();
|
|
|
}
|
|
|
|
|
|
}
|