Commit 2be3148e authored by Quxl's avatar Quxl

x

parent 512e7fbc
...@@ -96,6 +96,7 @@ public class ConfirmQuotationServiceImpl implements ConfirmQuotationService { ...@@ -96,6 +96,7 @@ public class ConfirmQuotationServiceImpl implements ConfirmQuotationService {
Map<String, Map<String, Object>> itemDatas = new HashMap<>(); Map<String, Map<String, Object>> itemDatas = new HashMap<>();
if(ids != null) { if(ids != null) {
for(ITEM_DATA id : ids) { for(ITEM_DATA id : ids) {
String ZZCRDDATE = id.getZZCRDDATE();
Map<String, Object> itemData = new HashMap<>(); Map<String, Object> itemData = new HashMap<>();
itemData.put("BSTKD_E", h.getBSTKD_E()); itemData.put("BSTKD_E", h.getBSTKD_E());
itemData.put("VBELN", h.getVBELN()); itemData.put("VBELN", h.getVBELN());
...@@ -113,7 +114,7 @@ public class ConfirmQuotationServiceImpl implements ConfirmQuotationService { ...@@ -113,7 +114,7 @@ public class ConfirmQuotationServiceImpl implements ConfirmQuotationService {
itemData.put("NETWRI", StringUtil.toDouble(id.getNETWRI())); itemData.put("NETWRI", StringUtil.toDouble(id.getNETWRI()));
itemData.put("WAERK_I", id.getWAERK_I()); itemData.put("WAERK_I", id.getWAERK_I());
itemData.put("WERKS", id.getWERKS()); itemData.put("WERKS", id.getWERKS());
itemData.put("ZZCRDDATE", DateUtil.parseDateNoEmpty(id.getZZCRDDATE(), DateUtil.FMT_DATE)); itemData.put("ZZCRDDATE", "00000000".equals(ZZCRDDATE) ? "0000-00-00" : DateUtil.parseDateNoEmpty(ZZCRDDATE, DateUtil.FMT_DATE));
itemData.put("KGNNR_I", id.getKGNNR_I()); itemData.put("KGNNR_I", id.getKGNNR_I());
itemData.put("NAME1_I", id.getNAME1_I()); itemData.put("NAME1_I", id.getNAME1_I());
itemData.put("NAME2_I", id.getNAME2_I()); itemData.put("NAME2_I", id.getNAME2_I());
......
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