重构sps代码

tags/yfai-pcn-ext-v2.3
臧学普 7 months ago
parent 5c53be2c16
commit 42653ea0fd

@ -21,10 +21,11 @@ import javax.jws.WebService;
public class WebServiceServerSPS {
public static final Logger LOGGER = LoggerFactory.getLogger(WebServiceServerSPS.class);
@WebMethod(action = "SyncSPSForEquipmentService", operationName = "SyncSPSForEquipmentService")
public MesPullingOrderInfo syncSPSForEquipment() {
@WebMethod(action = "GetCurrentOrder", operationName = "GetCurrentOrder")
public String syncSPSForEquipment() {
MesPullingOrderInfoService bean = (MesPullingOrderInfoService) SpringContextsUtil.getBean("mesPullingOrderInfoService");
return bean.doSPSForEquipment100();
bean.doSPSForEquipment100();
return "xxx";
}
@WebMethod(action = "GetCurrentOrderJson", operationName = "GetCurrentOrderJson")

@ -22,9 +22,10 @@ public class WebServiceServerSPS200 {
public static final Logger LOGGER = LoggerFactory.getLogger(WebServiceServerSPS200.class);
@WebMethod(action = "GetCurrentOrder", operationName = "GetCurrentOrder")
public MesPullingOrderInfo syncSPSForEquipment() {
public String syncSPSForEquipment() {
MesPullingOrderInfoService bean = (MesPullingOrderInfoService) SpringContextsUtil.getBean("mesPullingOrderInfoService");
return bean.doSPSForEquipment200();
bean.doSPSForEquipment200();
return "xxx";
}
@WebMethod(action = "GetCurrentOrderJson", operationName = "GetCurrentOrderJson")

Loading…
Cancel
Save