Commit 31558de2 authored by Quxl's avatar Quxl

x

parent 0d5226e7
......@@ -20,7 +20,7 @@ import org.springframework.stereotype.Component;
import com.egolm.sso.config.XRException;
@Component
public class ServiceFactory {
public class SAPServiceFactory {
@Value("${schneider.username}")
private String username;
......
......@@ -18,7 +18,7 @@ import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;
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.services.CommonService;
import com.egolm.sso.services.TraceService;
......@@ -59,7 +59,7 @@ public class SI004INVENTORYSyncOutServiceTask {
private String xmlRoot;
@Autowired
private ServiceFactory factory;
private SAPServiceFactory factory;
@Scheduled(cron="${cronSi004}")
public void execute() throws MalformedURLException {
......
......@@ -16,7 +16,7 @@ import org.springframework.jdbc.core.JdbcTemplate;
import org.springframework.scheduling.annotation.Scheduled;
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.ITEM;
import com.egolm.sso.config.XRException;
......@@ -57,7 +57,7 @@ public class SI009SOCREATIONAsynOutServiceTask {
private String xmlRoot;
@Autowired
private ServiceFactory factory;
private SAPServiceFactory factory;
@Scheduled(cron="${cronSap009}")
public void execute() {
......
......@@ -17,7 +17,7 @@ import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;
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.services.CommonService;
import com.egolm.sso.services.TraceService;
......@@ -58,7 +58,7 @@ public class SI011ACTUALSALESSyncOutServiceTask {
private String xmlRoot;
@Autowired
private ServiceFactory factory;
private SAPServiceFactory factory;
@Scheduled(cron="${cronSi011}")
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