Commit 86d26233 authored by Quxl's avatar Quxl

x

parent a4f160d6
...@@ -15,7 +15,6 @@ import org.springframework.jdbc.core.JdbcTemplate; ...@@ -15,7 +15,6 @@ import org.springframework.jdbc.core.JdbcTemplate;
import org.springframework.stereotype.Component; import org.springframework.stereotype.Component;
import org.springframework.transaction.annotation.Transactional; import org.springframework.transaction.annotation.Transactional;
import com.alibaba.fastjson.JSON;
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;
...@@ -53,9 +52,9 @@ public class ConfirmQuotationServiceImpl implements ConfirmQuotationService { ...@@ -53,9 +52,9 @@ public class ConfirmQuotationServiceImpl implements ConfirmQuotationService {
@Override @Override
@Transactional @Transactional
public void execute(Z_MT_SD_008_SO_CONFIRM_QUOTATION Z_MT_SD_008_SO_CONFIRM_QUOTATION) { public void execute(Z_MT_SD_008_SO_CONFIRM_QUOTATION Z_MT_SD_008_SO_CONFIRM_QUOTATION) {
boolean isSuccess = true;
System.out.println(new Gson().toJson(Z_MT_SD_008_SO_CONFIRM_QUOTATION)); System.out.println(new Gson().toJson(Z_MT_SD_008_SO_CONFIRM_QUOTATION));
Date now = new Date(); Date now = new Date();
boolean isSuccess = true;
String timeString = DateUtil.formatDate(now, "yyyyMMddHHmmssSSS"); String timeString = DateUtil.formatDate(now, "yyyyMMddHHmmssSSS");
String TRACE_NO = common.getNextTrace(now, "sapsoconfirmquotation", "T_SO_CONFIRMACTION_HEADER"); String TRACE_NO = common.getNextTrace(now, "sapsoconfirmquotation", "T_SO_CONFIRMACTION_HEADER");
Long time = now.getTime(); Long time = now.getTime();
...@@ -220,7 +219,6 @@ public class ConfirmQuotationServiceImpl implements ConfirmQuotationService { ...@@ -220,7 +219,6 @@ public class ConfirmQuotationServiceImpl implements ConfirmQuotationService {
fieldSql = fieldSql.substring(0, fieldSql.length()-2); fieldSql = fieldSql.substring(0, fieldSql.length()-2);
valuesSql = valuesSql.substring(0, valuesSql.length()-2); valuesSql = valuesSql.substring(0, valuesSql.length()-2);
insertSql = insertSql + fieldSql + ") values " + valuesSql + ")"; insertSql = insertSql + fieldSql + ") values " + valuesSql + ")";
System.out.println(JSON.toJSONString(values));
jdbcTemplate.update(insertSql, values.toArray()); jdbcTemplate.update(insertSql, values.toArray());
} }
......
...@@ -47,9 +47,9 @@ public class DNDeletionServiceImpl implements DNDeletionService { ...@@ -47,9 +47,9 @@ public class DNDeletionServiceImpl implements DNDeletionService {
@Override @Override
@Transactional @Transactional
public void execute(DELETED_DOCUMENTS DELETED_DOCUMENTS) { public void execute(DELETED_DOCUMENTS DELETED_DOCUMENTS) {
boolean isSuccess = true;
System.out.println(new Gson().toJson(DELETED_DOCUMENTS)); System.out.println(new Gson().toJson(DELETED_DOCUMENTS));
Date now = new Date(); Date now = new Date();
boolean isSuccess = true;
String timeString = DateUtil.formatDate(now, "yyyyMMddHHmmssSSS"); String timeString = DateUtil.formatDate(now, "yyyyMMddHHmmssSSS");
String TRACE_NO = common.getNextTrace(now, "sapsodndeletion", "T_SO_DN_DELETION"); String TRACE_NO = common.getNextTrace(now, "sapsodndeletion", "T_SO_DN_DELETION");
String apiName = "SAP单据删除通知接口"; String apiName = "SAP单据删除通知接口";
......
...@@ -50,10 +50,10 @@ public class MaterialMasterServiceImpl implements MaterialMasterService { ...@@ -50,10 +50,10 @@ public class MaterialMasterServiceImpl implements MaterialMasterService {
@Override @Override
@Transactional @Transactional
public void execute(Z_MT_SD_001_MATERIAL_MASTER Z_MT_SD_001_MATERIAL_MASTER) { 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(); Date now = new Date();
String timeString = DateUtil.formatDate(now, "yyyyMMddHHmmssSSS");
boolean isSuccess = true; boolean isSuccess = true;
System.out.println(new Gson().toJson(Z_MT_SD_001_MATERIAL_MASTER)); String timeString = DateUtil.formatDate(now, "yyyyMMddHHmmssSSS");
String TRACE_NO = common.getNextTrace(now, "sapmaterialmaster", "T_VEN_GOODS"); String TRACE_NO = common.getNextTrace(now, "sapmaterialmaster", "T_VEN_GOODS");
String apiName = "SAP物料接口"; String apiName = "SAP物料接口";
String apiPath = "/material_master"; String apiPath = "/material_master";
......
...@@ -62,9 +62,9 @@ public class PrformaInvoiceServiceImpl implements PrformaInvoiceService { ...@@ -62,9 +62,9 @@ public class PrformaInvoiceServiceImpl implements PrformaInvoiceService {
@Override @Override
@Transactional @Transactional
public void execute(Z_MT_SD_005_PERFORM_INVOICE Z_MT_SD_005_PERFORM_INVOICE) { public void execute(Z_MT_SD_005_PERFORM_INVOICE Z_MT_SD_005_PERFORM_INVOICE) {
boolean isSuccess = true;
System.out.println(new Gson().toJson(Z_MT_SD_005_PERFORM_INVOICE)); System.out.println(new Gson().toJson(Z_MT_SD_005_PERFORM_INVOICE));
Date now = new Date(); Date now = new Date();
boolean isSuccess = true;
String timeString = DateUtil.formatDate(now, "yyyyMMddHHmmssSSS"); String timeString = DateUtil.formatDate(now, "yyyyMMddHHmmssSSS");
String TRACE_NO = common.getNextTrace(now, "sapproformainvoice", "T_PERFORM_INVOICE_HEADER"); String TRACE_NO = common.getNextTrace(now, "sapproformainvoice", "T_PERFORM_INVOICE_HEADER");
String apiName = "SAP形式发票接口"; String apiName = "SAP形式发票接口";
......
...@@ -50,9 +50,9 @@ public class PriceListServiceImpl implements PriceListService { ...@@ -50,9 +50,9 @@ public class PriceListServiceImpl implements PriceListService {
@Override @Override
@Transactional @Transactional
public void execute(Z_MT_SD_002_PRICE_LIST Z_MT_SD_002_PRICE_LIST) { public void execute(Z_MT_SD_002_PRICE_LIST Z_MT_SD_002_PRICE_LIST) {
boolean isSuccess = true;
System.out.println(new Gson().toJson(Z_MT_SD_002_PRICE_LIST)); System.out.println(new Gson().toJson(Z_MT_SD_002_PRICE_LIST));
Date now = new Date(); Date now = new Date();
boolean isSuccess = true;
String timeString = DateUtil.formatDate(now, "yyyyMMddHHmmssSSS"); String timeString = DateUtil.formatDate(now, "yyyyMMddHHmmssSSS");
String TRACE_NO = common.getNextTrace(now, "sappricelist", "T_PRICE_LIST"); String TRACE_NO = common.getNextTrace(now, "sappricelist", "T_PRICE_LIST");
String apiName = "SAP列表价接口"; String apiName = "SAP列表价接口";
......
...@@ -56,9 +56,9 @@ public class ShippingNotificationServiceImpl implements ShippingNotificationServ ...@@ -56,9 +56,9 @@ public class ShippingNotificationServiceImpl implements ShippingNotificationServ
@Override @Override
@Transactional @Transactional
public void execute(Z_MT_SD_007_SHIPPING_NOTFIRMATION_FILE Z_MT_SD_007_SHIPPING_NOTFIRMATION_FILE) { public void execute(Z_MT_SD_007_SHIPPING_NOTFIRMATION_FILE Z_MT_SD_007_SHIPPING_NOTFIRMATION_FILE) {
boolean isSuccess = true;
System.out.println(new Gson().toJson(Z_MT_SD_007_SHIPPING_NOTFIRMATION_FILE)); System.out.println(new Gson().toJson(Z_MT_SD_007_SHIPPING_NOTFIRMATION_FILE));
Date now = new Date(); Date now = new Date();
boolean isSuccess = true;
Long timeMillis = now.getTime(); Long timeMillis = now.getTime();
String timeString = DateUtil.formatDate(now, "yyyyMMddHHmmssSSS"); String timeString = DateUtil.formatDate(now, "yyyyMMddHHmmssSSS");
String TRACE_NO = common.getNextTrace(now, "sapshippingnotification", "T_SHIPPING_NOTIFICATION_HEADER"); String TRACE_NO = common.getNextTrace(now, "sapshippingnotification", "T_SHIPPING_NOTIFICATION_HEADER");
......
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