|
@@ -321,7 +321,7 @@ public class AskGoodsServiceImpl implements AskGoodsService {
|
|
|
//如果失败存入报错信息跟数据
|
|
|
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.setDataVal(returnData.toJSONString());
|
|
|
+ error.setDataVal(returnData.toJSONString()).setType("出库回传");
|
|
|
errorMapper.addError(error);
|
|
|
type = 1;
|
|
|
}else {
|
|
@@ -331,7 +331,7 @@ public class AskGoodsServiceImpl implements AskGoodsService {
|
|
|
//如果失败存入报错信息跟数据
|
|
|
error.setErrorInfo(jsonObject1.get("Msg").toString());
|
|
|
error.setUrl("http://42.159.85.29:52480/cwbase/sg/V1/ERP/TELD/DEVTEST/API_WMS_PurInStock/CreateProductiveOutStock");
|
|
|
- error.setDataVal(returnData.toJSONString());
|
|
|
+ error.setDataVal(returnData.toJSONString()).setType("出库回传");
|
|
|
errorMapper.addError(error);
|
|
|
type = 1;
|
|
|
}else {
|
|
@@ -343,7 +343,7 @@ public class AskGoodsServiceImpl implements AskGoodsService {
|
|
|
//如果失败存入报错信息跟数据
|
|
|
error.setErrorInfo(map.get("FailReason").toString());
|
|
|
error.setUrl("http://42.159.85.29:52480/cwbase/sg/V1/ERP/TELD/DEVTEST/API_WMS_PurInStock/CreateProductiveOutStock");
|
|
|
- error.setDataVal(jsonObject2.toString());
|
|
|
+ error.setDataVal(jsonObject2.toString()).setType("出库回传");
|
|
|
errorMapper.addError(error);
|
|
|
}
|
|
|
}
|
|
@@ -733,7 +733,7 @@ public class AskGoodsServiceImpl implements AskGoodsService {
|
|
|
//如果失败存入报错信息跟数据
|
|
|
error.setErrorInfo(result.get("data").toString());
|
|
|
error.setUrl("http://42.159.85.29:52480/cwbase/sg/V1/ERP/TELD/DEVTEST/API_WMS_PurInStock/CreateBOLOutStock");
|
|
|
- error.setDataVal(returnData.toJSONString());
|
|
|
+ error.setDataVal(returnData.toJSONString()).setType("销售出库");
|
|
|
errorMapper.addError(error);
|
|
|
}else {
|
|
|
JSONObject jsonObject = (JSONObject) JSONObject.parse(result.get("data").toString());
|
|
@@ -742,7 +742,7 @@ public class AskGoodsServiceImpl implements AskGoodsService {
|
|
|
//如果失败存入报错信息跟数据
|
|
|
error.setErrorInfo(jsonObject1.get("Msg").toString());
|
|
|
error.setUrl("http://42.159.85.29:52480/cwbase/sg/V1/ERP/TELD/DEVTEST/API_WMS_PurInStock/CreateBOLOutStock");
|
|
|
- error.setDataVal(returnData.toJSONString());
|
|
|
+ error.setDataVal(returnData.toJSONString()).setType("销售出库");
|
|
|
errorMapper.addError(error);
|
|
|
}else {
|
|
|
List<JSONObject> data1 = (List<JSONObject>) JSONObject.parse(jsonObject1.get("data").toString());
|
|
@@ -753,7 +753,7 @@ public class AskGoodsServiceImpl implements AskGoodsService {
|
|
|
//如果失败存入报错信息跟数据
|
|
|
error.setErrorInfo(map.get("FailReason").toString());
|
|
|
error.setUrl("http://42.159.85.29:52480/cwbase/sg/V1/ERP/TELD/DEVTEST/API_WMS_PurInStock/CreateProductiveOutStock");
|
|
|
- error.setDataVal(jsonObject2.toString());
|
|
|
+ error.setDataVal(jsonObject2.toString()).setType("销售出库");
|
|
|
errorMapper.addError(error);
|
|
|
}
|
|
|
}
|
|
@@ -878,7 +878,7 @@ public class AskGoodsServiceImpl implements AskGoodsService {
|
|
|
//如果失败存入报错信息跟数据
|
|
|
error.setErrorInfo(result.get("data").toString());
|
|
|
error.setUrl("http://42.159.85.29:52480/cwbase/sg/V1/ERP/TELD/DEVTEST/API_WMS_PurInStock/CreateGMReqOutStock");
|
|
|
- error.setDataVal(returnData.toJSONString());
|
|
|
+ error.setDataVal(returnData.toJSONString()).setType("移库");
|
|
|
errorMapper.addError(error);
|
|
|
} else {
|
|
|
JSONObject jsonObject = (JSONObject) JSONObject.parse(result.get("data").toString());
|
|
@@ -887,7 +887,7 @@ public class AskGoodsServiceImpl implements AskGoodsService {
|
|
|
//如果失败存入报错信息跟数据
|
|
|
error.setErrorInfo(jsonObject1.get("Msg").toString());
|
|
|
error.setUrl("http://42.159.85.29:52480/cwbase/sg/V1/ERP/TELD/DEVTEST/API_WMS_PurInStock/CreateGMReqOutStock");
|
|
|
- error.setDataVal(returnData.toJSONString());
|
|
|
+ error.setDataVal(returnData.toJSONString()).setType("移库");
|
|
|
errorMapper.addError(error);
|
|
|
} else {
|
|
|
List<JSONObject> data1 = (List<JSONObject>) JSONObject.parse(jsonObject1.get("data").toString());
|
|
@@ -898,7 +898,7 @@ public class AskGoodsServiceImpl implements AskGoodsService {
|
|
|
//如果失败存入报错信息跟数据
|
|
|
error.setErrorInfo(map.get("FailReason").toString());
|
|
|
error.setUrl("http://42.159.85.29:52480/cwbase/sg/V1/ERP/TELD/DEVTEST/API_WMS_PurInStock/CreateGMReqOutStock");
|
|
|
- error.setDataVal(jsonObject2.toString());
|
|
|
+ error.setDataVal(jsonObject2.toString()).setType("移库");
|
|
|
errorMapper.addError(error);
|
|
|
}
|
|
|
}
|
|
@@ -983,7 +983,7 @@ public class AskGoodsServiceImpl implements AskGoodsService {
|
|
|
//如果失败存入报错信息跟数据
|
|
|
error.setErrorInfo(result.get("data").toString());
|
|
|
error.setUrl("http://42.159.85.29:52480/cwbase/sg/V1/ERP/TELD/DEVTEST/API_WMS_PurInStock/CreateGRReqInStock");
|
|
|
- error.setDataVal(returnData.toJSONString());
|
|
|
+ error.setDataVal(returnData.toJSONString()).setType("半成品入库");
|
|
|
errorMapper.addError(error);
|
|
|
} else {
|
|
|
JSONObject jsonObject = (JSONObject) JSONObject.parse(result.get("data").toString());
|
|
@@ -992,7 +992,7 @@ public class AskGoodsServiceImpl implements AskGoodsService {
|
|
|
//如果失败存入报错信息跟数据
|
|
|
error.setErrorInfo(jsonObject1.get("Msg").toString());
|
|
|
error.setUrl("http://42.159.85.29:52480/cwbase/sg/V1/ERP/TELD/DEVTEST/API_WMS_PurInStock/CreateGRReqInStock");
|
|
|
- error.setDataVal(returnData.toJSONString());
|
|
|
+ error.setDataVal(returnData.toJSONString()).setType("半成品入库");
|
|
|
errorMapper.addError(error);
|
|
|
} else {
|
|
|
List<JSONObject> data1 = (List<JSONObject>) JSONObject.parse(jsonObject1.get("data").toString());
|
|
@@ -1003,7 +1003,7 @@ public class AskGoodsServiceImpl implements AskGoodsService {
|
|
|
//如果失败存入报错信息跟数据
|
|
|
error.setErrorInfo(map.get("FailReason").toString());
|
|
|
error.setUrl("http://42.159.85.29:52480/cwbase/sg/V1/ERP/TELD/DEVTEST/API_WMS_PurInStock/CreateGRReqInStock");
|
|
|
- error.setDataVal(jsonObject2.toString());
|
|
|
+ error.setDataVal(jsonObject2.toString()).setType("半成品入库");
|
|
|
errorMapper.addError(error);
|
|
|
}
|
|
|
}
|