|
@@ -255,13 +255,13 @@ public class WarehousingServiceImpl implements WarehousingService {
|
|
|
|
|
|
|
|
|
HttpClientUtil httpClientUtil1 = new HttpClientUtil();
|
|
|
- Map<String, Object> result = httpClientUtil1.doPost("http://42.159.85.29:52480/cwbase/sg/V1/ERP/TELD/DEVTEST/API_WMS_PurInStock/CreateProductiveOutStock", returnData);
|
|
|
+ Map<String, Object> result = httpClientUtil1.doPost("http://42.159.85.29:52480/cwbase/sg/V1/ERP/TELD/DEVTEST/API_WMS_PurInStock/CreatePurInStock", returnData);
|
|
|
Error error = new Error();
|
|
|
int type = 0;
|
|
|
if (Integer.parseInt(result.get("msg").toString()) != 200) {
|
|
|
//如果失败存入报错信息跟数据
|
|
|
error.setErrorInfo(result.get("data").toString());
|
|
|
- error.setUrl("http://42.159.85.29:52480/cwbase/sg/V1/ERP/TELD/DEVTEST/API_WMS_PurInStock/CreateProductiveOutStock");
|
|
|
+ error.setUrl("http://42.159.85.29:52480/cwbase/sg/V1/ERP/TELD/DEVTEST/API_WMS_PurInStock/CreatePurInStock");
|
|
|
error.setDataVal(returnData.toJSONString()).setType("入库回传");
|
|
|
errorMapper.addError(error);
|
|
|
type = 1;
|
|
@@ -270,7 +270,7 @@ public class WarehousingServiceImpl implements WarehousingService {
|
|
|
if (jsonObject.get("State").toString().equals("0")) {
|
|
|
//如果失败存入报错信息跟数据
|
|
|
error.setErrorInfo(jsonObject.get("Msg").toString());
|
|
|
- error.setUrl("http://42.159.85.29:52480/cwbase/sg/V1/ERP/TELD/DEVTEST/API_WMS_PurInStock/CreateProductiveOutStock");
|
|
|
+ error.setUrl("http://42.159.85.29:52480/cwbase/sg/V1/ERP/TELD/DEVTEST/API_WMS_PurInStock/CreatePurInStock");
|
|
|
error.setDataVal(returnData.toJSONString()).setType("入库回传");
|
|
|
errorMapper.addError(error);
|
|
|
type = 1;
|