Commit dbe0cd36 authored by Quxl's avatar Quxl

x

parent 206522d4
......@@ -12,6 +12,7 @@ import javax.jws.WebService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.jdbc.core.JdbcTemplate;
import org.springframework.stereotype.Component;
import org.springframework.transaction.annotation.Transactional;
import com.alibaba.fastjson.JSON;
import com.egolm.sso.services.CommonService;
......@@ -33,6 +34,7 @@ public class ConfirmQuotationServiceImpl implements ConfirmQuotationService {
CommonService common;
@Override
@Transactional
public void execute(Z_MT_SD_008_SO_CONFIRM_QUOTATION Z_MT_SD_008_SO_CONFIRM_QUOTATION) {
Date now = new Date();
String today = DateUtil.formatDate(now, DateUtil.FMT_DATE);
......
......@@ -4,8 +4,10 @@ import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
@XmlRootElement(name="Z_MT_SD_008_SO_CONFIRM_QUOTATION", namespace="http://schneider-distributor.com/")
@XmlType(name = "Z_MT_SD_008_SO_CONFIRM_QUOTATION")
@XmlAccessorType(XmlAccessType.FIELD)
public class Z_MT_SD_008_SO_CONFIRM_QUOTATION {
......
......@@ -3,12 +3,14 @@ package com.egolm.sso.services.dn_deletion;
import javax.jws.WebService;
import org.springframework.stereotype.Component;
import org.springframework.transaction.annotation.Transactional;
@Component
@WebService(serviceName = "DNDeletionService", targetNamespace = "http://dn_deletion.sso.egolm.com", endpointInterface = "com.egolm.sso.services.dn_deletion.DNDeletionService")
public class DNDeletionServiceImpl implements DNDeletionService {
@Override
@Transactional
public void execute(Z_MT_SD_010_SO_DN_DELETION Z_MT_SD_010_SO_DN_DELETION) {
// TODO Auto-generated method stub
......
......@@ -12,6 +12,7 @@ import javax.jws.WebService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.jdbc.core.JdbcTemplate;
import org.springframework.stereotype.Component;
import org.springframework.transaction.annotation.Transactional;
import com.egolm.sso.services.CommonService;
import com.egolm.sso.services.material_master.Z_MT_SD_001_MATERIAL_MASTER.HEADER_SENDING;
......@@ -32,6 +33,7 @@ public class MaterialMasterServiceImpl implements MaterialMasterService {
CommonService common;
@Override
@Transactional
public void execute(Z_MT_SD_001_MATERIAL_MASTER Z_MT_SD_001_MATERIAL_MASTER) {
System.out.println(new Gson().toJson(Z_MT_SD_001_MATERIAL_MASTER));
Date now = new Date();
......
......@@ -11,6 +11,7 @@ import javax.jws.WebService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.jdbc.core.JdbcTemplate;
import org.springframework.stereotype.Component;
import org.springframework.transaction.annotation.Transactional;
import com.egolm.sso.services.CommonService;
import com.egolm.sso.services.prforma_invoice.Z_MT_SD_005_PERFORM_INVOICE.HEADER_BANK_DATA;
......@@ -43,6 +44,7 @@ public class PrformaInvoiceServiceImpl implements PrformaInvoiceService {
CommonService common;
@Override
@Transactional
public void execute(Z_MT_SD_005_PERFORM_INVOICE Z_MT_SD_005_PERFORM_INVOICE) {
Date now = new Date();
String dateString = DateUtil.formatDate(now, DateUtil.FMT_DATE);
......
......@@ -12,6 +12,7 @@ import javax.jws.WebService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.jdbc.core.JdbcTemplate;
import org.springframework.stereotype.Component;
import org.springframework.transaction.annotation.Transactional;
import com.egolm.sso.services.CommonService;
import com.egolm.sso.services.price_list.Z_MT_SD_002_PRICE_LIST.HEADER_SENDING;
......@@ -32,6 +33,7 @@ public class PriceListServiceImpl implements PriceListService {
CommonService common;
@Override
@Transactional
public void execute(Z_MT_SD_002_PRICE_LIST Z_MT_SD_002_PRICE_LIST) {
Date now = new Date();
String today = DateUtil.formatDate(now, DateUtil.FMT_DATE);
......
......@@ -12,6 +12,7 @@ import javax.jws.WebService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.jdbc.core.JdbcTemplate;
import org.springframework.stereotype.Component;
import org.springframework.transaction.annotation.Transactional;
import com.alibaba.fastjson.JSON;
import com.egolm.sso.services.CommonService;
......@@ -38,6 +39,7 @@ public class ShippingNotificationServiceImpl implements ShippingNotificationServ
CommonService common;
@Override
@Transactional
public void execute(Z_MT_SD_007_SHIPPING_NOTFIRMATION_FILE Z_MT_SD_007_SHIPPING_NOTFIRMATION_FILE) {
System.out.println(JSON.toJSONString(Z_MT_SD_007_SHIPPING_NOTFIRMATION_FILE));
......
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