From 3c549ba0df1b80e294c048d50226e9efe867d9e8 Mon Sep 17 00:00:00 2001
From: bklLiudl <673013083@qq.com>
Date: 星期四, 14 三月 2024 13:42:09 +0800
Subject: [PATCH] 呼叫小车

---
 Wms/Wms/appsettings.json                |    4 ++--
 Wms/WMS.BLL/BllPdaServer/PdaCrServer.cs |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/Wms/WMS.BLL/BllPdaServer/PdaCrServer.cs b/Wms/WMS.BLL/BllPdaServer/PdaCrServer.cs
index 13d05b0..b2e9536 100644
--- a/Wms/WMS.BLL/BllPdaServer/PdaCrServer.cs
+++ b/Wms/WMS.BLL/BllPdaServer/PdaCrServer.cs
@@ -1137,7 +1137,7 @@
                 if (string.IsNullOrEmpty(endLocat))
                 {
                     var locatInfo3 = storageLocatList.Where(w => w.IsDel == "0" && w.Flag == "0" && w.Status == "0")
-                                .OrderByDescending(m => new { m.Layer, m.Column, m.Row }).First();
+                                .OrderByDescending(m => m.Layer).OrderByDescending(m=>m.Column).OrderByDescending(m=> m.Row).First();
 
                     if (locatInfo3 != null)
                     {
diff --git a/Wms/Wms/appsettings.json b/Wms/Wms/appsettings.json
index a95b17d..221c91c 100644
--- a/Wms/Wms/appsettings.json
+++ b/Wms/Wms/appsettings.json
@@ -10,8 +10,8 @@
   "AppSettings": {
     //"ConnectionString": "Server=47.95.120.93;Database=WMS_JC09;User ID=sa;password=boxline!@#; Integrated Security=True;",
     //"ConnectionString": "Server=47.95.120.53;Database=WMS_JC09;User ID=sa;Password=boxline!@#;Integrated Security=False;",
-    //"ConnectionString": "Server=127.0.0.1;Database=WMS_JC09;User ID=sa;Password=sql2019;Integrated Security=False;",
-    "ConnectionString": "Server=192.168.62.200;Database=WMS_JC24;User ID=sa;Password=sql2019;Integrated Security=False;"
+    "ConnectionString": "Server=127.0.0.1;Database=WMS_JC24;User ID=sa;Password=sql2019;Integrated Security=False;",
+    //"ConnectionString": "Server=192.168.62.200;Database=WMS_JC24;User ID=sa;Password=sql2019;Integrated Security=False;"
     //"ConnectionString": "Server=.;Database=WMS_JC09;User ID=sa;Password=sql2019;Integrated Security=False;"
     //"ConnectionString": "Data Source=DESKTOP-0EJDG95\\MSSQLSERVER1;Initial Catalog=WMS_V01;Integrated Security=True;"
   },

--
Gitblit v1.8.0