Commit e1bf92a6 authored by Quxl's avatar Quxl

x

parent 7d289918
......@@ -21,6 +21,7 @@ import com.egolm.sso.services.CommonService;
import com.egolm.sso.services.confirm_quotation.Z_MT_SD_008_SO_CONFIRM_QUOTATION.HEADER;
import com.egolm.sso.services.confirm_quotation.Z_MT_SD_008_SO_CONFIRM_QUOTATION.ITEM_DATA;
import com.egolm.sso.services.confirm_quotation.Z_MT_SD_008_SO_CONFIRM_QUOTATION.ITEM_PRICING;
import com.egolm.sso.services.confirm_quotation.Z_MT_SD_008_SO_CONFIRM_QUOTATION.MESSAGE;
import com.egolm.sso.services.confirm_quotation.Z_MT_SD_008_SO_CONFIRM_QUOTATION.RESPONSE;
import com.egolm.sso.util.DateUtil;
import com.egolm.sso.util.FileUtil;
......@@ -58,9 +59,9 @@ public class ConfirmQuotationServiceImpl implements ConfirmQuotationService {
Map<String, Object> header = new HashMap<>();
RESPONSE res = Z_MT_SD_008_SO_CONFIRM_QUOTATION.getRESPONSE();
HEADER h = res.getHEADER();
header.put("MSGTYPE", h.getMSGTYPE());
header.put("MSGTXT", h.getMSGTXT());
MESSAGE MESSAGE = res.getMESSAGE();
header.put("MSGTYPE", MESSAGE.getMSGTYPE());
header.put("MSGTXT", MESSAGE.getMSGTXT());
header.put("BSTKD_E", h.getBSTKD_E());
header.put("VBELN", h.getVBELN());
header.put("VKORG", h.getVKORG());
......
......@@ -26,7 +26,7 @@ public class Z_MT_SD_008_SO_CONFIRM_QUOTATION {
@XmlAccessorType(XmlAccessType.FIELD)
public static class RESPONSE {
String VBELN;
String MESSAGE;
MESSAGE MESSAGE;
HEADER HEADER;
List<ITEM_DATA> ITEM_DATA;
List<ITEM_PRICING> ITEM_PRICING;
......@@ -39,14 +39,6 @@ public class Z_MT_SD_008_SO_CONFIRM_QUOTATION {
VBELN = vBELN;
}
public String getMESSAGE() {
return MESSAGE;
}
public void setMESSAGE(String mESSAGE) {
MESSAGE = mESSAGE;
}
public HEADER getHEADER() {
return HEADER;
}
......@@ -70,13 +62,38 @@ public class Z_MT_SD_008_SO_CONFIRM_QUOTATION {
public void setITEM_PRICING(List<ITEM_PRICING> iTEM_PRICING) {
ITEM_PRICING = iTEM_PRICING;
}
public MESSAGE getMESSAGE() {
return MESSAGE;
}
public void setMESSAGE(MESSAGE mESSAGE) {
MESSAGE = mESSAGE;
}
}
@XmlType(name = "MESSAGE")
@XmlAccessorType(XmlAccessType.FIELD)
public static class MESSAGE {
String MSGTYPE;
String MSGTXT;
public String getMSGTYPE() {
return MSGTYPE;
}
public void setMSGTYPE(String mSGTYPE) {
MSGTYPE = mSGTYPE;
}
public String getMSGTXT() {
return MSGTXT;
}
public void setMSGTXT(String mSGTXT) {
MSGTXT = mSGTXT;
}
}
@XmlType(name = "HEADER")
@XmlAccessorType(XmlAccessType.FIELD)
public static class HEADER {
String MSGTYPE;
String MSGTXT;
String BSTKD_E;
String VBELN;
String VKORG;
......@@ -285,22 +302,6 @@ public class Z_MT_SD_008_SO_CONFIRM_QUOTATION {
DPFLAG = dPFLAG;
}
public String getMSGTYPE() {
return MSGTYPE;
}
public void setMSGTYPE(String mSGTYPE) {
MSGTYPE = mSGTYPE;
}
public String getMSGTXT() {
return MSGTXT;
}
public void setMSGTXT(String mSGTXT) {
MSGTXT = mSGTXT;
}
}
@XmlType(name = "ITEM_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