From 2b49f7643d15b74889d190f216630559006ed93a Mon Sep 17 00:00:00 2001
From: yanjinhui <3306209981@qq.com>
Date: 星期一, 01 十二月 2025 09:48:43 +0800
Subject: [PATCH] pad和后端的优化

---
 新建文件夹/WIDESEA_WMSServer/WIDESEA_SquareCabinServices/Business.cs |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git "a/\346\226\260\345\273\272\346\226\207\344\273\266\345\244\271/WIDESEA_WMSServer/WIDESEA_SquareCabinServices/Business.cs" "b/\346\226\260\345\273\272\346\226\207\344\273\266\345\244\271/WIDESEA_WMSServer/WIDESEA_SquareCabinServices/Business.cs"
index ff5dc1a..c0dc49f 100644
--- "a/\346\226\260\345\273\272\346\226\207\344\273\266\345\244\271/WIDESEA_WMSServer/WIDESEA_SquareCabinServices/Business.cs"
+++ "b/\346\226\260\345\273\272\346\226\207\344\273\266\345\244\271/WIDESEA_WMSServer/WIDESEA_SquareCabinServices/Business.cs"
@@ -410,13 +410,13 @@
                 var Orders = _cabinOrderServices.Db.Queryable<Dt_CabinOrder>().Where(x => inorders.Contains(x.Order_no)).Includes(x => x.Details).ToList();
                 List<Dt_CabinOrder> cabinOrders = new List<Dt_CabinOrder>();
                 List<Dt_CabinOrderDetail> cabinOrderDetails = new List<Dt_CabinOrderDetail>();
-                var url = "http://121.37.118.63:80/GYZ2/95fck/inOrderOk";
+                var url = "http://192.168.1.100:80/GYZ2/95fck/inOrderOk";
                 foreach (var item in Orders.GroupBy(x => x.Order_no))
                 {
                     //鍙湁褰撹璁㈠崟鍙蜂笅鐨勬墍鏈夎褰曢兘鏄�"宸插畬鎴�"鐘舵�佹椂锛屾墠缁х画澶勭悊
                     if (!item.Where(x => x.OdrderStatus != "宸插畬鎴�").Any())
                     {
-                        if (item.First().Order_type == InOrderTypeEnum.Allocat.ObjToInt().ToString())
+                        if (item.First().Order_type == InOrderTypeEnum.Allocat.ObjToInt().ToString())//濡傛灉鏄皟鎷ㄥ崟
                         {
                             foreach (var a in item)
                             {
@@ -427,7 +427,7 @@
                         }
                         else
                         {
-                            if (item.First().Order_type == "2") url = "http://121.37.118.63:80/GYZ2/95fck/outOrderOk";//鍑哄簱閫�璐�
+                            if (item.First().Order_type == "2") url = "http://192.168.1.100:80/GYZ2/95fck/outOrderOk";//鍑哄簱閫�璐�
                             var result = HttpHelper.Post(url, new { order_no = item.Key }.ToJsonString());
                             var response = JsonConvert.DeserializeObject<UpstreamOrderResponse>(result);
                             if (response != null && response.resultCode == "0")
@@ -477,7 +477,7 @@
                 var Orders = _deliveryOrderServices.Db.Queryable<Dt_DeliveryOrder>().Where(x => outorders.Contains(x.Out_no)).Includes(x => x.Details).ToList();
                 List<Dt_DeliveryOrder> cabinOrders = new List<Dt_DeliveryOrder>();
                 List<Dt_DeliveryOrderDetail> cabinOrderDetails = new List<Dt_DeliveryOrderDetail>();
-                var url = "http://121.37.118.63:80/GYZ2/95fck/outOrderOk";
+                var url = "http://192.168.1.100:80/GYZ2/95fck/outOrderOk";
                 foreach (var item in Orders.GroupBy(x => x.Out_no))
                 {
                     if (!item.Where(x => x.OutStatus != "宸插畬鎴�").Any())
@@ -493,7 +493,7 @@
                         }
                         else
                         {
-                            if (item.First().Out_type == "3") url = "http://121.37.118.63:80/GYZ2/95fck/inOrderOk";//鍏ュ簱閫�璐� 鍑哄簱鍗�
+                            if (item.First().Out_type == "3") url = "http://192.168.1.100:80/GYZ2/95fck/inOrderOk";//鍏ュ簱閫�璐� 鍑哄簱鍗�
                             var result = HttpHelper.Post(url, new { order_no = item.Key }.ToJsonString());
                             var response = JsonConvert.DeserializeObject<UpstreamOrderResponse>(result);
                             if (response != null && response.resultCode == "0")

--
Gitblit v1.9.3