Commit 5e2e8868 authored by Quxl's avatar Quxl

x

parent 02948f7d
...@@ -50,75 +50,69 @@ public class MaterialMasterServiceImpl implements MaterialMasterService { ...@@ -50,75 +50,69 @@ public class MaterialMasterServiceImpl implements MaterialMasterService {
try { try {
RECORD RECORD = Z_MT_SD_001_MATERIAL_MASTER.getRECORD(); RECORD RECORD = Z_MT_SD_001_MATERIAL_MASTER.getRECORD();
HEADER_SENDING h = RECORD.getHEADER_SENDING(); HEADER_SENDING h = RECORD.getHEADER_SENDING();
String DIS_CODE = h.getKUNNR(); String DIS_CODE = null;
String DATUM = h.getDATUM(); String DATUM = null;
String UZEIT = h.getUZEIT(); String UZEIT = null;
if(h != null) {
DIS_CODE = h.getKUNNR();
DATUM = h.getDATUM();
UZEIT = h.getUZEIT();
}
List<ITEM> items = RECORD.getITEM(); List<ITEM> items = RECORD.getITEM();
for(ITEM item : items) { if(items != null) {
String GOODS_CODE = item.getMATNR(); for(ITEM item : items) {
Map<String, Object> goods = getGoods(DIS_CODE, GOODS_CODE); String GOODS_CODE = item.getMATNR();
if (goods == null) { Map<String, Object> goods = getGoods(DIS_CODE, GOODS_CODE);
goods = new HashMap<>(); if (goods == null) {
} goods = new HashMap<>();
goods.put("DIS_CODE", DIS_CODE); }
goods.put("DATUM", DateUtil.parseDate(DATUM, DateUtil.FMT_DATE)); goods.put("DIS_CODE", DIS_CODE);
goods.put("UZEIT", DateUtil.parseDate(UZEIT, DateUtil.FMT_TIME)); goods.put("DATUM", DateUtil.parseDate(DATUM, DateUtil.FMT_DATE));
goods.put("UZEIT", DateUtil.parseDate(UZEIT, DateUtil.FMT_TIME));
goods.put("GOODS_CODE", GOODS_CODE);
goods.put("ROUGH_WEIGHT", Double.valueOf(item.getBRGEW())); goods.put("GOODS_CODE", GOODS_CODE);
goods.put("NET_WEIGHT", Double.valueOf(item.getNTGEW())); goods.put("ROUGH_WEIGHT", Double.valueOf(item.getBRGEW()));
goods.put("WETGHT_UNIT", item.getGEWEI()); goods.put("NET_WEIGHT", Double.valueOf(item.getNTGEW()));
goods.put("CATEGORY_CODE", item.getPLINE()); goods.put("WETGHT_UNIT", item.getGEWEI());
goods.put("CREATION_DATE", DateUtil.parseDate(item.getERSDA(), DateUtil.FMT_DATE)); goods.put("CATEGORY_CODE", item.getPLINE());
goods.put("LAST_CHANGE_DATE", DateUtil.parseDate(item.getLAEDA(), DateUtil.FMT_DATE)); goods.put("CREATION_DATE", DateUtil.parseDate(item.getERSDA(), DateUtil.FMT_DATE));
goods.put("GOODS_NAME", item.getNORMT()); goods.put("LAST_CHANGE_DATE", DateUtil.parseDate(item.getLAEDA(), DateUtil.FMT_DATE));
goods.put("PRODUCTION_LINE_CODE", item.getLIFNR()); goods.put("GOODS_NAME", item.getNORMT());
goods.put("VMSTA", item.getVMSTA()); goods.put("PRODUCTION_LINE_CODE", item.getLIFNR());
goods.put("MSTAV", item.getMSTAV()); goods.put("VMSTA", item.getVMSTA());
goods.put("STKTYP", item.getSTKTYP()); goods.put("MSTAV", item.getMSTAV());
goods.put("SPEC", item.getUMREZ()); goods.put("STKTYP", item.getSTKTYP());
goods.put("SPEC", item.getUMREZ());
goods.put("GOODS_NAME_EN", item.getNORMT_EN());
goods.put("AUMNG", item.getAUMNG());
goods.put("VRKME", item.getVRKME());
goods.put("BASE_UNIT", item.getMEINS());
goods.put("STATISTICS_UNIT", item.getSCHME());// (统计单位--》发货单位)
goods.put("LAENG", item.getLAENG());
goods.put("BREIT", item.getBREIT());
goods.put("HOEHE", item.getHOEHE());
goods.put("MEABM", item.getMEABM());
goods.put("LAENG_B", item.getLAENG_B());
goods.put("BREIT_B", item.getBREIT_B());
goods.put("HOEHE_B", item.getHOEHE_B());
goods.put("MEABM_B", item.getMEABM_B());
goods.put("PUBLIC", item.getPUBLIC());
goods.put("INTERNET", item.getINTERNET());
goods.put("GOODS_NAME_EN", item.getNORMT_EN()); Long BATCHID = common.getNextval(dateString + "T_VEN_GOODS_BATCH_" + dateString);
goods.put("AUMNG", item.getAUMNG()); String BATCH = dateString+"-"+BATCHID;
goods.put("VRKME", item.getVRKME()); goods.put("TRACE_NO", "sapmaterialmaster" + DateUtil.formatDate(now, DateUtil.FMT_DATETIME));
goods.put("BASE_UNIT", item.getMEINS()); goods.put("BATCH", BATCH);
goods.put("STATISTICS_UNIT", item.getSCHME());// (统计单位--》发货单位) goods.put("SEND_STATUS", "N");
goods.put("LAENG", item.getLAENG());
goods.put("BREIT", item.getBREIT());
goods.put("HOEHE", item.getHOEHE());
goods.put("MEABM", item.getMEABM());
goods.put("LAENG_B", item.getLAENG_B());
goods.put("BREIT_B", item.getBREIT_B());
goods.put("HOEHE_B", item.getHOEHE_B());
goods.put("MEABM_B", item.getMEABM_B());
goods.put("PUBLIC", item.getPUBLIC());
goods.put("INTERNET", item.getINTERNET());
/*
goods.put("CATEGORY_NAME", "");// 品类名称
goods.put("PRODUCTION_LINE_CODE", "");// 产线(产地)编码
goods.put("PRODUCTION_LINE_NAME", "");// 产线(产地)名称
goods.put("MSTAV", "");// 停产标志2
goods.put("BARCODE", "");// 物料条码
goods.put("TAX_RATE", 0);// 税率
goods.put("GOODS_KEY", "");// 物料唯一码
goods.put("SEND_TIME", now);// 发送时间
goods.put("DIS_UPDATE_STATUS", "N");// 分销商更新结果(Y成功,N失败)
*/
Long BATCHID = common.getNextval(dateString + "T_VEN_GOODS_BATCH_" + dateString);
String BATCH = dateString+"-"+BATCHID;
goods.put("TRACE_NO", "sapmaterialmaster" + DateUtil.formatDate(now, DateUtil.FMT_DATETIME));
goods.put("BATCH", BATCH);
goods.put("SEND_STATUS", "N");
if (goods.get("ID") != null) { if (goods.get("ID") != null) {
updateGoods(goods); updateGoods(goods);
} else { } else {
insertGoods(goods); insertGoods(goods);
}
} }
} }
} catch (Exception e) { } catch (Exception e) {
......
...@@ -49,48 +49,57 @@ public class PriceListServiceImpl implements PriceListService { ...@@ -49,48 +49,57 @@ public class PriceListServiceImpl implements PriceListService {
System.out.println(new Gson().toJson(Z_MT_SD_002_PRICE_LIST)); System.out.println(new Gson().toJson(Z_MT_SD_002_PRICE_LIST));
try { try {
RECORD r = Z_MT_SD_002_PRICE_LIST.getRECORD(); RECORD r = Z_MT_SD_002_PRICE_LIST.getRECORD();
HEADER_SENDING h = r.getHEADER_SENDING(); if(r != null) {
List<ITEM> items = r.getITEM(); HEADER_SENDING h = r.getHEADER_SENDING();
List<ITEM> items = r.getITEM();
String KUNNR = h.getKUNNR();
String DATUM = h.getDATUM();
String UZEIT = h.getUZEIT();
for(ITEM item : items) {
String MATNR = item.getMATNR();
Map<String, Object> priceObj = getPriceObj(KUNNR, MATNR);
if (priceObj == null) {
priceObj = new HashMap<>();
}
priceObj.put("KUNNR", KUNNR);
priceObj.put("DATUM", DateUtil.parseDate(DATUM, DateUtil.FMT_DATE));
priceObj.put("UZEIT", DateUtil.parseDate(UZEIT, DateUtil.FMT_TIME));
priceObj.put("MATNR", MATNR);
priceObj.put("KBETR", StringUtil.toDouble(item.getKBETR())); String KUNNR = null;
priceObj.put("KONWA", item.getKONWA()); String DATUM = null;
priceObj.put("KPEIN", item.getKPEIN()); String UZEIT = null;
priceObj.put("KMEIN", item.getKMEIN()); if(h != null) {
priceObj.put("UMREZ", item.getUMREZ()); KUNNR = h.getKUNNR();
priceObj.put("MAKTX", item.getMAKTX()); DATUM = h.getDATUM();
priceObj.put("PRSCH", StringUtil.toDouble(item.getPRSCH())); UZEIT = h.getUZEIT();
priceObj.put("DATAM", DateUtil.parseDate(item.getDATAM(), DateUtil.FMT_DATE)); }
priceObj.put("DATBI", DateUtil.parseDateNoEmpty(item.getDATBI(), DateUtil.FMT_DATE)); if(items != null) {
priceObj.put("PLINE", item.getPLINE()); for(ITEM item : items) {
priceObj.put("PRSCH_1", StringUtil.toDouble(item.getPRSCH_1())); String MATNR = item.getMATNR();
/* Map<String, Object> priceObj = getPriceObj(KUNNR, MATNR);
priceObj.put("SEND_DATE", new Date(0));// 发送时间 if (priceObj == null) {
*/ priceObj = new HashMap<>();
priceObj.put("SEND_STATUS", "N"); }
Long BATCHID = common.getNextval("T_PRICE_LIST_BATCH_" + dateString);
String BATCH = dateString + "-" + BATCHID; priceObj.put("KUNNR", KUNNR);
priceObj.put("DATUM", DateUtil.parseDate(DATUM, DateUtil.FMT_DATE));
priceObj.put("UZEIT", DateUtil.parseDate(UZEIT, DateUtil.FMT_TIME));
priceObj.put("MATNR", MATNR);
priceObj.put("KBETR", StringUtil.toDouble(item.getKBETR()));
priceObj.put("KONWA", item.getKONWA());
priceObj.put("KPEIN", item.getKPEIN());
priceObj.put("KMEIN", item.getKMEIN());
priceObj.put("UMREZ", item.getUMREZ());
priceObj.put("MAKTX", item.getMAKTX());
priceObj.put("PRSCH", StringUtil.toDouble(item.getPRSCH()));
priceObj.put("DATAM", DateUtil.parseDate(item.getDATAM(), DateUtil.FMT_DATE));
priceObj.put("DATBI", DateUtil.parseDateNoEmpty(item.getDATBI(), DateUtil.FMT_DATE));
priceObj.put("PLINE", item.getPLINE());
priceObj.put("PRSCH_1", StringUtil.toDouble(item.getPRSCH_1()));
/*
priceObj.put("SEND_DATE", new Date(0));// 发送时间
*/
priceObj.put("SEND_STATUS", "N");
Long BATCHID = common.getNextval("T_PRICE_LIST_BATCH_" + dateString);
String BATCH = dateString + "-" + BATCHID;
priceObj.put("TRACE_NO", "sappricelist" + DateUtil.formatDate(now, DateUtil.FMT_DATETIME)); priceObj.put("TRACE_NO", "sappricelist" + DateUtil.formatDate(now, DateUtil.FMT_DATETIME));
priceObj.put("BATCH", BATCH); priceObj.put("BATCH", BATCH);
if (priceObj.get("ID") != null) { if (priceObj.get("ID") != null) {
updatePriceObj(priceObj); updatePriceObj(priceObj);
} else { } else {
insertPriceObj(priceObj); insertPriceObj(priceObj);
}
}
} }
} }
} catch (Exception e) { } catch (Exception e) {
......
...@@ -57,88 +57,98 @@ public class ShippingNotificationServiceImpl implements ShippingNotificationServ ...@@ -57,88 +57,98 @@ public class ShippingNotificationServiceImpl implements ShippingNotificationServ
try { try {
Map<String, Object> header = new HashMap<>(); Map<String, Object> header = new HashMap<>();
Z_DT_SD_007_SHIPPING_NOTIFICATION_FILE Z_DT_SD_007_SHIPPING_NOTIFICATION_FILE = Z_MT_SD_007_SHIPPING_NOTFIRMATION_FILE.getZ_DT_SD_007_SHIPPING_NOTIFICATION_FILE(); Z_DT_SD_007_SHIPPING_NOTIFICATION_FILE Z_DT_SD_007_SHIPPING_NOTIFICATION_FILE = Z_MT_SD_007_SHIPPING_NOTFIRMATION_FILE.getZ_DT_SD_007_SHIPPING_NOTIFICATION_FILE();
HEADER_DELIVERY HEADER_DELIVERY = Z_DT_SD_007_SHIPPING_NOTIFICATION_FILE.getHEADER_DELIVERY(); if(Z_DT_SD_007_SHIPPING_NOTIFICATION_FILE != null) {
header.put("DELIVERY_VBELN", HEADER_DELIVERY.getVBELN()); HEADER_DELIVERY HEADER_DELIVERY = Z_DT_SD_007_SHIPPING_NOTIFICATION_FILE.getHEADER_DELIVERY();
header.put("DELIVERY_LFART", HEADER_DELIVERY.getLFART()); if(HEADER_DELIVERY != null) {
header.put("DELIVERY_INCO1", HEADER_DELIVERY.getINCO1()); header.put("DELIVERY_VBELN", HEADER_DELIVERY.getVBELN());
header.put("DELIVERY_BTGEW", StringUtil.toDouble(HEADER_DELIVERY.getBTGEW())); header.put("DELIVERY_LFART", HEADER_DELIVERY.getLFART());
header.put("DELIVERY_GEWEI", HEADER_DELIVERY.getGEWEI()); header.put("DELIVERY_INCO1", HEADER_DELIVERY.getINCO1());
header.put("DELIVERY_CMGST", HEADER_DELIVERY.getCMGST()); header.put("DELIVERY_BTGEW", StringUtil.toDouble(HEADER_DELIVERY.getBTGEW()));
header.put("DELIVERY_VKORG", HEADER_DELIVERY.getVKORG()); header.put("DELIVERY_GEWEI", HEADER_DELIVERY.getGEWEI());
List<HEADER_PARTNER> HEADER_PARTNERs = HEADER_DELIVERY.getHEADER_PARTNER(); header.put("DELIVERY_CMGST", HEADER_DELIVERY.getCMGST());
for(int i=0; i<HEADER_PARTNERs.size(); i++) { header.put("DELIVERY_VKORG", HEADER_DELIVERY.getVKORG());
HEADER_PARTNER HEADER_PARTNER = HEADER_PARTNERs.get(i); List<HEADER_PARTNER> HEADER_PARTNERs = HEADER_DELIVERY.getHEADER_PARTNER();
String PARTNER_Q = HEADER_PARTNER.getPARTNER_Q(); if(HEADER_PARTNERs != null) {
String PARTNER_ID = HEADER_PARTNER.getPARTNER_ID(); for(int i=0; i<HEADER_PARTNERs.size(); i++) {
String NAME1 = HEADER_PARTNER.getNAME1(); HEADER_PARTNER HEADER_PARTNER = HEADER_PARTNERs.get(i);
String NAME2 = HEADER_PARTNER.getNAME2(); String PARTNER_Q = HEADER_PARTNER.getPARTNER_Q();
String POSTL_COD1 = HEADER_PARTNER.getPOSTL_COD1(); String PARTNER_ID = HEADER_PARTNER.getPARTNER_ID();
String CITY1 = HEADER_PARTNER.getCITY1(); String NAME1 = HEADER_PARTNER.getNAME1();
if("AG".equals(PARTNER_Q)) { String NAME2 = HEADER_PARTNER.getNAME2();
header.put("PARTNER_Q1", PARTNER_Q); String POSTL_COD1 = HEADER_PARTNER.getPOSTL_COD1();
header.put("PARTNER_ID1", PARTNER_ID); String CITY1 = HEADER_PARTNER.getCITY1();
header.put("PARTNER_NAME1_1", NAME1); if("AG".equals(PARTNER_Q)) {
header.put("PARTNER_NAME2_1", NAME2); header.put("PARTNER_Q1", PARTNER_Q);
header.put("PARTNER_POSTLCOD1_1", POSTL_COD1); header.put("PARTNER_ID1", PARTNER_ID);
header.put("PARTNER_CITY1_1", CITY1); header.put("PARTNER_NAME1_1", NAME1);
} else if("WE".equals(PARTNER_Q)) { header.put("PARTNER_NAME2_1", NAME2);
header.put("PARTNER_Q2", PARTNER_Q); header.put("PARTNER_POSTLCOD1_1", POSTL_COD1);
header.put("PARTNER_ID2", PARTNER_ID); header.put("PARTNER_CITY1_1", CITY1);
header.put("PARTNER_NAME1_2", NAME1); } else if("WE".equals(PARTNER_Q)) {
header.put("PARTNER_NAME2_2", NAME2); header.put("PARTNER_Q2", PARTNER_Q);
header.put("PARTNER_POSTLCOD1_2", POSTL_COD1); header.put("PARTNER_ID2", PARTNER_ID);
header.put("PARTNER_CITY1_2", CITY1); header.put("PARTNER_NAME1_2", NAME1);
} else { header.put("PARTNER_NAME2_2", NAME2);
throw new XRException("Partner type undefined [" + PARTNER_Q + "] in HEADER_PARTNER"); header.put("PARTNER_POSTLCOD1_2", POSTL_COD1);
} header.put("PARTNER_CITY1_2", CITY1);
} } else {
List<HEADER_DATE> HEADER_DATEs= HEADER_DELIVERY.getHEADER_DATE(); throw new XRException("Partner type undefined [" + PARTNER_Q + "] in HEADER_PARTNER");
if(HEADER_DATEs!=null&&HEADER_DATEs.size()>0) { }
HEADER_DATE HEADER_DATE = HEADER_DATEs.get(0); }
header.put("QUALF", HEADER_DATE.getQUALF()); }
header.put("NTEND", HEADER_DATE.getNTEND()); List<HEADER_DATE> HEADER_DATEs= HEADER_DELIVERY.getHEADER_DATE();
} if(HEADER_DATEs!=null) {
header.put("BATCH", dateString + "-" + common.getNextval("T_SHIPPING_NOTIFICATION_HEADER_BATCH_"+dateString)); HEADER_DATE HEADER_DATE = HEADER_DATEs.get(0);
header.put("SEND_STATUS", "N"); header.put("QUALF", HEADER_DATE.getQUALF());
header.put("TRACE_NO", "sapshippingnotification"+DateUtil.formatDate(now, DateUtil.FMT_DATETIME)); header.put("NTEND", HEADER_DATE.getNTEND());
header.put("CREATED", now); }
header.put("CREATEBY", "system"); header.put("BATCH", dateString + "-" + common.getNextval("T_SHIPPING_NOTIFICATION_HEADER_BATCH_"+dateString));
Long hID = Long.valueOf(time+StringUtil.format(common.getNextval("T_SHIPPING_NOTIFICATION_HEADER_ID_"+dateString), "00000")); header.put("SEND_STATUS", "N");
header.put("ID", hID); header.put("TRACE_NO", "sapshippingnotification"+DateUtil.formatDate(now, DateUtil.FMT_DATETIME));
insertTo(header, "t_shipping_notification_header"); header.put("CREATED", now);
header.put("CREATEBY", "system");
List<ITEM> ITEMs = HEADER_DELIVERY.getITEM(); Long hID = Long.valueOf(time+StringUtil.format(common.getNextval("T_SHIPPING_NOTIFICATION_HEADER_ID_"+dateString), "00000"));
for(ITEM ITEM : ITEMs) { header.put("ID", hID);
Map<String, Object> item = new HashMap<>(); insertTo(header, "t_shipping_notification_header");
Long iID = Long.valueOf(time+StringUtil.format(common.getNextval("T_SHIPPING_NOTIFICATION_ITEM_ID_"+dateString), "00000"));
item.put("ID", iID); List<ITEM> ITEMs = HEADER_DELIVERY.getITEM();
item.put("HEADER_ID", hID); if(ITEMs != null) {
item.put("POSNR", ITEM.getPOSNR()); for(ITEM ITEM : ITEMs) {
item.put("VTWEG", ITEM.getVTWEG()); Map<String, Object> item = new HashMap<>();
item.put("MATNR", ITEM.getMATNR()); Long iID = Long.valueOf(time+StringUtil.format(common.getNextval("T_SHIPPING_NOTIFICATION_ITEM_ID_"+dateString), "00000"));
item.put("DMATNR", ITEM.getDMATNR()); item.put("ID", iID);
item.put("LFIMG", ITEM.getLFIMG()); item.put("HEADER_ID", hID);
item.put("VRKME", ITEM.getVRKME()); item.put("POSNR", ITEM.getPOSNR());
List<ITEM_REFERENCE_SO> ITEM_REFERENCE_SOs = ITEM.getITEM_REFERENCE_SO(); item.put("VTWEG", ITEM.getVTWEG());
if(ITEM_REFERENCE_SOs!=null&&ITEM_REFERENCE_SOs.size()>0) { item.put("MATNR", ITEM.getMATNR());
ITEM_REFERENCE_SO ITEM_REFERENCE_SO = ITEM_REFERENCE_SOs.get(0); item.put("DMATNR", ITEM.getDMATNR());
item.put("REFERENCE_SO_QUALF", ITEM_REFERENCE_SO.getQUALF()); item.put("LFIMG", ITEM.getLFIMG());
item.put("REFERENCE_SO_BELNR", ITEM_REFERENCE_SO.getBELNR()); item.put("VRKME", ITEM.getVRKME());
item.put("REFERENCE_SO_POSNR", ITEM_REFERENCE_SO.getPOSNR()); List<ITEM_REFERENCE_SO> ITEM_REFERENCE_SOs = ITEM.getITEM_REFERENCE_SO();
} if(ITEM_REFERENCE_SOs!=null) {
List<ITEM_REFERENCE_PO_TYPE> ITEM_REFERENCE_PO_TYPEs = ITEM.getITEM_REFERENCE_PO_TYPE(); ITEM_REFERENCE_SO ITEM_REFERENCE_SO = ITEM_REFERENCE_SOs.get(0);
for(int i=0; i<ITEM_REFERENCE_PO_TYPEs.size(); i++) { item.put("REFERENCE_SO_QUALF", ITEM_REFERENCE_SO.getQUALF());
ITEM_REFERENCE_PO_TYPE ITEM_REFERENCE_PO_TYPE = ITEM_REFERENCE_PO_TYPEs.get(i); item.put("REFERENCE_SO_BELNR", ITEM_REFERENCE_SO.getBELNR());
item.put("REFERENCE_PO_TYPE_TDID"+(i+1), ITEM_REFERENCE_PO_TYPE.getTDID()); item.put("REFERENCE_SO_POSNR", ITEM_REFERENCE_SO.getPOSNR());
List<ITEM_REFERENCE_PO_DATA> ITEM_REFERENCE_PO_DATAs = ITEM_REFERENCE_PO_TYPE.getITEM_REFERENCE_PO_DATA(); }
if(ITEM_REFERENCE_PO_DATAs!=null&&ITEM_REFERENCE_PO_DATAs.size()>0) { List<ITEM_REFERENCE_PO_TYPE> ITEM_REFERENCE_PO_TYPEs = ITEM.getITEM_REFERENCE_PO_TYPE();
ITEM_REFERENCE_PO_DATA ITEM_REFERENCE_PO_DATA = ITEM_REFERENCE_PO_DATAs.get(0); if(ITEM_REFERENCE_PO_TYPEs != null) {
item.put("REFERENCE_PO_TYPE_TDLINE"+(i+1), ITEM_REFERENCE_PO_DATA.getTDLINE()); for(int i=0; i<ITEM_REFERENCE_PO_TYPEs.size(); i++) {
ITEM_REFERENCE_PO_TYPE ITEM_REFERENCE_PO_TYPE = ITEM_REFERENCE_PO_TYPEs.get(i);
item.put("REFERENCE_PO_TYPE_TDID"+(i+1), ITEM_REFERENCE_PO_TYPE.getTDID());
List<ITEM_REFERENCE_PO_DATA> ITEM_REFERENCE_PO_DATAs = ITEM_REFERENCE_PO_TYPE.getITEM_REFERENCE_PO_DATA();
if(ITEM_REFERENCE_PO_DATAs!=null&&ITEM_REFERENCE_PO_DATAs.size()>0) {
ITEM_REFERENCE_PO_DATA ITEM_REFERENCE_PO_DATA = ITEM_REFERENCE_PO_DATAs.get(0);
item.put("REFERENCE_PO_TYPE_TDLINE"+(i+1), ITEM_REFERENCE_PO_DATA.getTDLINE());
}
}
}
item.put("CREATED", now);
item.put("CREATEBY", "system");
insertTo(item, "t_shipping_notification_item");
}
} }
} }
item.put("CREATED", now);
item.put("CREATEBY", "system");
insertTo(item, "t_shipping_notification_item");
} }
} catch (Exception e) { } catch (Exception e) {
isSuccess = false; isSuccess = false;
......
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