From 2b9f544a55f30f0b6e8010b84ed8b60f2c4cb78e Mon Sep 17 00:00:00 2001
From: hao <1836460075@qq.com>
Date: 星期一, 04 八月 2025 20:35:52 +0800
Subject: [PATCH] 工单更新

---
 StandardInterface/MES.Service/service/BasicData/Material/MesDepotsManager.cs |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/StandardInterface/MES.Service/service/BasicData/Material/MesDepotsManager.cs b/StandardInterface/MES.Service/service/BasicData/Material/MesDepotsManager.cs
index ba11703..e935a1f 100644
--- a/StandardInterface/MES.Service/service/BasicData/Material/MesDepotsManager.cs
+++ b/StandardInterface/MES.Service/service/BasicData/Material/MesDepotsManager.cs
@@ -48,7 +48,7 @@
             .SetColumns(s => s.IsNg == status)
             .Where(s => s.DepotId == depotId).ExecuteCommand();
 
-        if (result > 0)
+       // if (result > 0)
             return true;
 
         throw new NotImplementedException(status == "A" ? "鍚敤澶辫触" : "绂佺敤澶辫触");
@@ -151,8 +151,11 @@
             CreateDate = DateTime.Now,
             FZYC= depots.FZYC,
             FGYC= depots.FGYC,
+            FZMC= depots.FZMC,  
+            CGYMC= depots.FCGYMC,
             Company = "1000",
-            Factory = "1000"
+            Factory = "1000",
+            Type=depots.Type,
         };
     }
 

--
Gitblit v1.9.3