|
|
@@ -67,8 +67,8 @@ public class StorageChangeStoragehouseTaskController {
|
|
67
|
67
|
private String url;
|
|
68
|
68
|
|
|
69
|
69
|
// 获取出入库ip地址
|
|
70
|
|
- @Value("${report-Url}")
|
|
71
|
|
- private String changeUrl;
|
|
|
70
|
+// @Value("${report-Url}")
|
|
|
71
|
+// private String changeUrl;
|
|
72
|
72
|
/**
|
|
73
|
73
|
* 得到当前倒仓主表中数据
|
|
74
|
74
|
*
|
|
|
@@ -557,14 +557,14 @@ public class StorageChangeStoragehouseTaskController {
|
|
557
|
557
|
str = str.substring(0, str.length()-1);
|
|
558
|
558
|
jso = jso + str + "]}";
|
|
559
|
559
|
try {
|
|
560
|
|
- String url = changeUrl+"/business-management/changeStoragehous/save";
|
|
561
|
|
-
|
|
562
|
|
- String count= HTTPUtils.doPost(url,jso);
|
|
563
|
|
-
|
|
564
|
|
- if(count.contains("Success") || count.contains("200")){
|
|
565
|
|
- modelMap.put("status", "success");
|
|
566
|
|
- modelMap.put("msg", "成功!");
|
|
567
|
|
- }
|
|
|
560
|
+// String url = changeUrl+"/business-management/changeStoragehous/save";
|
|
|
561
|
+//
|
|
|
562
|
+// String count= HTTPUtils.doPost(url,jso);
|
|
|
563
|
+//
|
|
|
564
|
+// if(count.contains("Success") || count.contains("200")){
|
|
|
565
|
+// modelMap.put("status", "success");
|
|
|
566
|
+// modelMap.put("msg", "成功!");
|
|
|
567
|
+// }
|
|
568
|
568
|
} catch (Exception e){
|
|
569
|
569
|
e.printStackTrace();
|
|
570
|
570
|
modelMap.put("status", "error");
|
|
|
@@ -626,14 +626,14 @@ public class StorageChangeStoragehouseTaskController {
|
|
626
|
626
|
str = str.substring(0, str.length()-1);
|
|
627
|
627
|
jso = jso + str + "]}";
|
|
628
|
628
|
try {
|
|
629
|
|
- String url = changeUrl+"/business-management/changeStoragehous/save";
|
|
630
|
|
-
|
|
631
|
|
- String count= HTTPUtils.doPost(url,jso);
|
|
632
|
|
-
|
|
633
|
|
- if(count.contains("Success") || count.contains("200")){
|
|
634
|
|
- modelMap.put("status", "success");
|
|
635
|
|
- modelMap.put("msg", "成功!");
|
|
636
|
|
- }
|
|
|
629
|
+// String url = changeUrl+"/business-management/changeStoragehous/save";
|
|
|
630
|
+//
|
|
|
631
|
+// String count= HTTPUtils.doPost(url,jso);
|
|
|
632
|
+//
|
|
|
633
|
+// if(count.contains("Success") || count.contains("200")){
|
|
|
634
|
+// modelMap.put("status", "success");
|
|
|
635
|
+// modelMap.put("msg", "成功!");
|
|
|
636
|
+// }
|
|
637
|
637
|
} catch (Exception e){
|
|
638
|
638
|
e.printStackTrace();
|
|
639
|
639
|
modelMap.put("status", "error");
|