Commit 13546b9c authored by Quxl's avatar Quxl

x

parent 89796e00
......@@ -98,14 +98,11 @@ public class ShippingNotificationServiceImpl implements ShippingNotificationServ
}
}
}
List<HEADER_DATE> HEADER_DATEs= HEADER_DELIVERY.getHEADER_DATE();
if(HEADER_DATEs!=null) {
HEADER_DATE HEADER_DATE = HEADER_DATEs.get(0);
HEADER_DATE HEADER_DATE= HEADER_DELIVERY.getHEADER_DATE();
if(HEADER_DATE != null) {
header.put("QUALF", HEADER_DATE.getQUALF());
header.put("NTEND", HEADER_DATE.getNTEND());
}
}
header.put("BATCH", dateString + "-" + common.getNextval("T_SHIPPING_NOTIFICATION_HEADER_BATCH_"+dateString));
header.put("SEND_STATUS", "N");
header.put("TRACE_NO", "sapshippingnotification"+DateUtil.formatDate(now, DateUtil.FMT_DATETIME));
......
......@@ -60,7 +60,7 @@ public class Z_MT_SD_007_SHIPPING_NOTFIRMATION_FILE {
@XmlElement(required = false, nillable=true)
List<HEADER_PARTNER> HEADER_PARTNER;
@XmlElement(required = false, nillable=true)
List<HEADER_DATE> HEADER_DATE;
HEADER_DATE HEADER_DATE;
@XmlElement(required = false, nillable=true)
List<ITEM> ITEM;
......@@ -128,14 +128,6 @@ public class Z_MT_SD_007_SHIPPING_NOTFIRMATION_FILE {
HEADER_PARTNER = hEADER_PARTNER;
}
public List<HEADER_DATE> getHEADER_DATE() {
return HEADER_DATE;
}
public void setHEADER_DATE(List<HEADER_DATE> hEADER_DATE) {
HEADER_DATE = hEADER_DATE;
}
public List<ITEM> getITEM() {
return ITEM;
}
......@@ -143,6 +135,14 @@ public class Z_MT_SD_007_SHIPPING_NOTFIRMATION_FILE {
public void setITEM(List<ITEM> iTEM) {
ITEM = iTEM;
}
public HEADER_DATE getHEADER_DATE() {
return HEADER_DATE;
}
public void setHEADER_DATE(HEADER_DATE hEADER_DATE) {
HEADER_DATE = hEADER_DATE;
}
}
@XmlType(name = "HEADER_PARTNER")
......
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