Commit 31558de2 authored by Quxl's avatar Quxl

x

parent 0d5226e7
...@@ -20,7 +20,7 @@ import org.springframework.stereotype.Component; ...@@ -20,7 +20,7 @@ import org.springframework.stereotype.Component;
import com.egolm.sso.config.XRException; import com.egolm.sso.config.XRException;
@Component @Component
public class ServiceFactory { public class SAPServiceFactory {
@Value("${schneider.username}") @Value("${schneider.username}")
private String username; private String username;
......
...@@ -18,7 +18,7 @@ import org.springframework.scheduling.annotation.Scheduled; ...@@ -18,7 +18,7 @@ import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component; import org.springframework.stereotype.Component;
import com.alibaba.fastjson.JSONObject; import com.alibaba.fastjson.JSONObject;
import com.egolm.sso.clients.ServiceFactory; import com.egolm.sso.clients.SAPServiceFactory;
import com.egolm.sso.config.XRException; import com.egolm.sso.config.XRException;
import com.egolm.sso.services.CommonService; import com.egolm.sso.services.CommonService;
import com.egolm.sso.services.TraceService; import com.egolm.sso.services.TraceService;
...@@ -59,7 +59,7 @@ public class SI004INVENTORYSyncOutServiceTask { ...@@ -59,7 +59,7 @@ public class SI004INVENTORYSyncOutServiceTask {
private String xmlRoot; private String xmlRoot;
@Autowired @Autowired
private ServiceFactory factory; private SAPServiceFactory factory;
@Scheduled(cron="${cronSi004}") @Scheduled(cron="${cronSi004}")
public void execute() throws MalformedURLException { public void execute() throws MalformedURLException {
......
...@@ -16,7 +16,7 @@ import org.springframework.jdbc.core.JdbcTemplate; ...@@ -16,7 +16,7 @@ import org.springframework.jdbc.core.JdbcTemplate;
import org.springframework.scheduling.annotation.Scheduled; import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component; import org.springframework.stereotype.Component;
import com.egolm.sso.clients.ServiceFactory; import com.egolm.sso.clients.SAPServiceFactory;
import com.egolm.sso.clients.SI_009_SO_CREATION_AsynOutService.ZDTSD009SOCREATION.Header; import com.egolm.sso.clients.SI_009_SO_CREATION_AsynOutService.ZDTSD009SOCREATION.Header;
import com.egolm.sso.clients.SI_009_SO_CREATION_AsynOutService.ZDTSD009SOCREATION.ITEM; import com.egolm.sso.clients.SI_009_SO_CREATION_AsynOutService.ZDTSD009SOCREATION.ITEM;
import com.egolm.sso.config.XRException; import com.egolm.sso.config.XRException;
...@@ -57,7 +57,7 @@ public class SI009SOCREATIONAsynOutServiceTask { ...@@ -57,7 +57,7 @@ public class SI009SOCREATIONAsynOutServiceTask {
private String xmlRoot; private String xmlRoot;
@Autowired @Autowired
private ServiceFactory factory; private SAPServiceFactory factory;
@Scheduled(cron="${cronSap009}") @Scheduled(cron="${cronSap009}")
public void execute() { public void execute() {
......
...@@ -17,7 +17,7 @@ import org.springframework.scheduling.annotation.Scheduled; ...@@ -17,7 +17,7 @@ import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component; import org.springframework.stereotype.Component;
import com.alibaba.fastjson.JSONObject; import com.alibaba.fastjson.JSONObject;
import com.egolm.sso.clients.ServiceFactory; import com.egolm.sso.clients.SAPServiceFactory;
import com.egolm.sso.config.XRException; import com.egolm.sso.config.XRException;
import com.egolm.sso.services.CommonService; import com.egolm.sso.services.CommonService;
import com.egolm.sso.services.TraceService; import com.egolm.sso.services.TraceService;
...@@ -58,7 +58,7 @@ public class SI011ACTUALSALESSyncOutServiceTask { ...@@ -58,7 +58,7 @@ public class SI011ACTUALSALESSyncOutServiceTask {
private String xmlRoot; private String xmlRoot;
@Autowired @Autowired
private ServiceFactory factory; private SAPServiceFactory factory;
@Scheduled(cron="${cronSi011}") @Scheduled(cron="${cronSi011}")
public void execute() { public void execute() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment