Commit 89796e00 authored by Quxl's avatar Quxl

x

parent aec1a08c
...@@ -128,28 +128,22 @@ public class ShippingNotificationServiceImpl implements ShippingNotificationServ ...@@ -128,28 +128,22 @@ public class ShippingNotificationServiceImpl implements ShippingNotificationServ
item.put("DMATNR", ITEM.getDMATNR()); item.put("DMATNR", ITEM.getDMATNR());
item.put("LFIMG", ITEM.getLFIMG()); item.put("LFIMG", ITEM.getLFIMG());
item.put("VRKME", ITEM.getVRKME()); item.put("VRKME", ITEM.getVRKME());
List<ITEM_REFERENCE_SO> ITEM_REFERENCE_SOs = ITEM.getITEM_REFERENCE_SO(); ITEM_REFERENCE_SO ITEM_REFERENCE_SO = ITEM.getITEM_REFERENCE_SO();
if(ITEM_REFERENCE_SOs!=null) {
ITEM_REFERENCE_SO ITEM_REFERENCE_SO = ITEM_REFERENCE_SOs.get(0);
if(ITEM_REFERENCE_SO != null) { if(ITEM_REFERENCE_SO != null) {
item.put("REFERENCE_SO_QUALF", ITEM_REFERENCE_SO.getQUALF()); item.put("REFERENCE_SO_QUALF", ITEM_REFERENCE_SO.getQUALF());
item.put("REFERENCE_SO_BELNR", ITEM_REFERENCE_SO.getBELNR()); item.put("REFERENCE_SO_BELNR", ITEM_REFERENCE_SO.getBELNR());
item.put("REFERENCE_SO_POSNR", ITEM_REFERENCE_SO.getPOSNR()); item.put("REFERENCE_SO_POSNR", ITEM_REFERENCE_SO.getPOSNR());
} }
}
List<ITEM_REFERENCE_PO_TYPE> ITEM_REFERENCE_PO_TYPEs = ITEM.getITEM_REFERENCE_PO_TYPE(); List<ITEM_REFERENCE_PO_TYPE> ITEM_REFERENCE_PO_TYPEs = ITEM.getITEM_REFERENCE_PO_TYPE();
if(ITEM_REFERENCE_PO_TYPEs != null) { if(ITEM_REFERENCE_PO_TYPEs != null) {
for(int i=0; i<ITEM_REFERENCE_PO_TYPEs.size(); i++) { 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_REFERENCE_PO_TYPE ITEM_REFERENCE_PO_TYPE = ITEM_REFERENCE_PO_TYPEs.get(i);
if(ITEM_REFERENCE_PO_TYPE != null) { if(ITEM_REFERENCE_PO_TYPE != null) {
String TDLINE = null; String TDLINE = null;
List<ITEM_REFERENCE_PO_DATA> ITEM_REFERENCE_PO_DATAs = ITEM_REFERENCE_PO_TYPE.getITEM_REFERENCE_PO_DATA(); ITEM_REFERENCE_PO_DATA ITEM_REFERENCE_PO_DATA = 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);
if(ITEM_REFERENCE_PO_DATA != null) { if(ITEM_REFERENCE_PO_DATA != null) {
TDLINE = ITEM_REFERENCE_PO_DATA.getTDLINE(); TDLINE = ITEM_REFERENCE_PO_DATA.getTDLINE();
} }
}
String TDID = ITEM_REFERENCE_PO_TYPE.getTDID(); String TDID = ITEM_REFERENCE_PO_TYPE.getTDID();
if("ZXI1".equals(TDID)) { if("ZXI1".equals(TDID)) {
item.put("REFERENCE_PO_TYPE_TDID1", TDID); item.put("REFERENCE_PO_TYPE_TDID1", TDID);
......
...@@ -251,7 +251,7 @@ public class Z_MT_SD_007_SHIPPING_NOTFIRMATION_FILE { ...@@ -251,7 +251,7 @@ public class Z_MT_SD_007_SHIPPING_NOTFIRMATION_FILE {
@XmlElement(required = false, nillable=true) @XmlElement(required = false, nillable=true)
String VRKME; String VRKME;
@XmlElement(required = false, nillable=true) @XmlElement(required = false, nillable=true)
List<ITEM_REFERENCE_SO> ITEM_REFERENCE_SO; ITEM_REFERENCE_SO ITEM_REFERENCE_SO;
@XmlElement(required = false, nillable=true) @XmlElement(required = false, nillable=true)
List<ITEM_REFERENCE_PO_TYPE> ITEM_REFERENCE_PO_TYPE; List<ITEM_REFERENCE_PO_TYPE> ITEM_REFERENCE_PO_TYPE;
...@@ -303,14 +303,6 @@ public class Z_MT_SD_007_SHIPPING_NOTFIRMATION_FILE { ...@@ -303,14 +303,6 @@ public class Z_MT_SD_007_SHIPPING_NOTFIRMATION_FILE {
VRKME = vRKME; VRKME = vRKME;
} }
public List<ITEM_REFERENCE_SO> getITEM_REFERENCE_SO() {
return ITEM_REFERENCE_SO;
}
public void setITEM_REFERENCE_SO(List<ITEM_REFERENCE_SO> iTEM_REFERENCE_SO) {
ITEM_REFERENCE_SO = iTEM_REFERENCE_SO;
}
public List<ITEM_REFERENCE_PO_TYPE> getITEM_REFERENCE_PO_TYPE() { public List<ITEM_REFERENCE_PO_TYPE> getITEM_REFERENCE_PO_TYPE() {
return ITEM_REFERENCE_PO_TYPE; return ITEM_REFERENCE_PO_TYPE;
} }
...@@ -318,6 +310,14 @@ public class Z_MT_SD_007_SHIPPING_NOTFIRMATION_FILE { ...@@ -318,6 +310,14 @@ public class Z_MT_SD_007_SHIPPING_NOTFIRMATION_FILE {
public void setITEM_REFERENCE_PO_TYPE(List<ITEM_REFERENCE_PO_TYPE> iTEM_REFERENCE_PO_TYPE) { public void setITEM_REFERENCE_PO_TYPE(List<ITEM_REFERENCE_PO_TYPE> iTEM_REFERENCE_PO_TYPE) {
ITEM_REFERENCE_PO_TYPE = iTEM_REFERENCE_PO_TYPE; ITEM_REFERENCE_PO_TYPE = iTEM_REFERENCE_PO_TYPE;
} }
public ITEM_REFERENCE_SO getITEM_REFERENCE_SO() {
return ITEM_REFERENCE_SO;
}
public void setITEM_REFERENCE_SO(ITEM_REFERENCE_SO iTEM_REFERENCE_SO) {
ITEM_REFERENCE_SO = iTEM_REFERENCE_SO;
}
} }
@XmlType(name = "ITEM_REFERENCE_SO") @XmlType(name = "ITEM_REFERENCE_SO")
...@@ -361,7 +361,7 @@ public class Z_MT_SD_007_SHIPPING_NOTFIRMATION_FILE { ...@@ -361,7 +361,7 @@ public class Z_MT_SD_007_SHIPPING_NOTFIRMATION_FILE {
@XmlElement(required = false, nillable=true) @XmlElement(required = false, nillable=true)
String TDID; String TDID;
@XmlElement(required = false, nillable=true) @XmlElement(required = false, nillable=true)
List<ITEM_REFERENCE_PO_DATA> ITEM_REFERENCE_PO_DATA; ITEM_REFERENCE_PO_DATA ITEM_REFERENCE_PO_DATA;
public String getTDID() { public String getTDID() {
return TDID; return TDID;
...@@ -371,11 +371,11 @@ public class Z_MT_SD_007_SHIPPING_NOTFIRMATION_FILE { ...@@ -371,11 +371,11 @@ public class Z_MT_SD_007_SHIPPING_NOTFIRMATION_FILE {
TDID = tDID; TDID = tDID;
} }
public List<ITEM_REFERENCE_PO_DATA> getITEM_REFERENCE_PO_DATA() { public ITEM_REFERENCE_PO_DATA getITEM_REFERENCE_PO_DATA() {
return ITEM_REFERENCE_PO_DATA; return ITEM_REFERENCE_PO_DATA;
} }
public void setITEM_REFERENCE_PO_DATA(List<ITEM_REFERENCE_PO_DATA> iTEM_REFERENCE_PO_DATA) { public void setITEM_REFERENCE_PO_DATA(ITEM_REFERENCE_PO_DATA iTEM_REFERENCE_PO_DATA) {
ITEM_REFERENCE_PO_DATA = iTEM_REFERENCE_PO_DATA; ITEM_REFERENCE_PO_DATA = iTEM_REFERENCE_PO_DATA;
} }
} }
......
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