From b7c6607e6937df8f60d99a076178f3173213af1e Mon Sep 17 00:00:00 2001
From: kyy <3283105747@qq.com>
Date: 星期三, 17 九月 2025 15:59:20 +0800
Subject: [PATCH] 1、送货条码操作类型修改

---
 MES.Service/service/BasicData/MesRohInManager.cs |    8 ++------
 1 files changed, 2 insertions(+), 6 deletions(-)

diff --git a/MES.Service/service/BasicData/MesRohInManager.cs b/MES.Service/service/BasicData/MesRohInManager.cs
index 1260083..04fe4f0 100644
--- a/MES.Service/service/BasicData/MesRohInManager.cs
+++ b/MES.Service/service/BasicData/MesRohInManager.cs
@@ -23,12 +23,8 @@
         {
             return rohInErpRohIn.Type switch
             {
-                "2" or "4" or "5" => SaveOrUpdateData(db, mesRohIn,
-                    mesRohInDatas)
-                    ? 1
-                    : 0,
-                "3" => UpdateData(db, mesRohIn, mesRohInDatas) ? 1 : 0,
-                _ => throw new NotImplementedException(
+                "2" or "4" or "5" => SaveOrUpdateData(db, mesRohIn,  mesRohInDatas)  ? 1   : 0,
+                "3" => UpdateData(db, mesRohIn, mesRohInDatas) ? 1 : 0, _ => throw new NotImplementedException(
                     $"type娌℃湁{rohInErpRohIn.Type}杩欎釜绫诲瀷")
             };
         }) > 0;

--
Gitblit v1.9.3