|
|
@@ -462,9 +462,9 @@ public class ERPServiceImpl implements ERPService {
|
|
|
}
|
|
|
asnMain.setIT_ASN_ITEM(IT_ASN_ITEM);
|
|
|
//asnMain.setSUPPLIER_CODE("108207");
|
|
|
- data.put("data", asnMain);
|
|
|
+ //data.put("data", asnMain);
|
|
|
EDIX5JsonHttpClient edix5JsonHttpClient = new EDIX5JsonHttpClient(xmediConfiguration.getX5appid(), xmediConfiguration.getX5appkey(), xmediConfiguration.getX5createAsnUrl());
|
|
|
- X5Response<Object> createAsn = edix5JsonHttpClient.post(data, xmediConfiguration, baseDao, "CreateAsn");
|
|
|
+ X5Response<Object> createAsn = edix5JsonHttpClient.post(asnMain, xmediConfiguration, baseDao, "CreateAsn");
|
|
|
result.put("header", createAsn.getHeader());
|
|
|
result.put("body", createAsn.getBody());
|
|
|
}
|
|
|
@@ -512,9 +512,9 @@ public class ERPServiceImpl implements ERPService {
|
|
|
}
|
|
|
asnBoxMain.setIT_ASN_PACK(IT_ASN_PACK);
|
|
|
//asnMain.setSUPPLIER_CODE("108207");
|
|
|
- data.put("data", asnBoxMain);
|
|
|
+ //data.put("data", asnBoxMain);
|
|
|
EDIX5JsonHttpClient edix5JsonHttpClient = new EDIX5JsonHttpClient(xmediConfiguration.getX5appid(), xmediConfiguration.getX5appkey(), xmediConfiguration.getX5createAsnBoxUrl());
|
|
|
- X5Response<Object> createAsn = edix5JsonHttpClient.post(data, xmediConfiguration, baseDao, "CreateAsnBox");
|
|
|
+ X5Response<Object> createAsn = edix5JsonHttpClient.post(asnBoxMain, xmediConfiguration, baseDao, "CreateAsnBox");
|
|
|
result.put("header", createAsn.getHeader());
|
|
|
result.put("body", createAsn.getBody());
|
|
|
}
|