Browse Source

问题修改

xiaochen 2 years ago
parent
commit
65ffdb7b1d

+ 4 - 4
src/main/java/com/tld/service/impl/AskGoodsServiceImpl.java

@@ -1285,8 +1285,8 @@ public class AskGoodsServiceImpl implements AskGoodsService {
                 }
             }
             //删除父子表信息
-//            askGoodsMapper.delPlugOutRemoval(removalCode);
-//            askGoodsMapper.delRemovalz(removalCode);
+            askGoodsMapper.delPlugOutRemoval(removalCode);
+            askGoodsMapper.delRemovalz(removalCode);
             //添加记录到tld_access
             String names = "其它出库";
             String accessType = "1";
@@ -1388,8 +1388,8 @@ public class AskGoodsServiceImpl implements AskGoodsService {
                 }
             }
             //删除父子表信息
-//            askGoodsMapper.delPlugOutRemoval(removalCode);
-//            askGoodsMapper.delRemovalz(removalCode);
+            askGoodsMapper.delPlugOutRemoval(removalCode);
+            askGoodsMapper.delRemovalz(removalCode);
             //添加记录到tld_access
             String names = "其它出库";
             String accessType = "1";

+ 3 - 3
src/main/java/com/tld/service/impl/WarehousingServiceImpl.java

@@ -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;