From 6f666ab6b8515ed988646ff1a9161f2f7eb6ee12 Mon Sep 17 00:00:00 2001
From: 啊鑫 <t2856754968@163.com>
Date: 星期三, 21 八月 2024 17:26:18 +0800
Subject: [PATCH] 更正

---
 MES.Service/service/Warehouse/OpeningReceiptServer.cs |   13 +++++--------
 1 files changed, 5 insertions(+), 8 deletions(-)

diff --git a/MES.Service/service/Warehouse/OpeningReceiptServer.cs b/MES.Service/service/Warehouse/OpeningReceiptServer.cs
index f39711d..d525417 100644
--- a/MES.Service/service/Warehouse/OpeningReceiptServer.cs
+++ b/MES.Service/service/Warehouse/OpeningReceiptServer.cs
@@ -77,13 +77,13 @@
         return entity;
     }
 
-    public MesInvItemIns GetMesInvItemIns(decimal? id)
+    public MesInvItemIns GetMesInvItemIns(decimal id)
     {
         return Db.Queryable<MesInvItemIns>()
             .Where(s => s.Id == id).Single();
     }
 
-    public List<MesInvItemInCDetails> GetMesInvItemInCDetailsList(decimal? id)
+    public List<MesInvItemInCDetails> GetMesInvItemInCDetailsList(decimal id)
     {
         return Db.Queryable<MesInvItemInCDetails, MesUnit>((a, b) =>
                 new JoinQueryInfos(JoinType.Inner, a.Unit == b.Id.ToString()))
@@ -136,8 +136,7 @@
             CbillNo = barcodeInfo.BillNo,
             UrgentFlag = barcodeInfo.UrgentFlag,
             BoardStyle = barcodeInfo.BoardStyle,
-            TaskNo = barcodeInfo.TaskNo,
-            ItemId = barcodeInfo.ItemId,
+            TaskNo = barcodeInfo.TaskNo
         }).ExecuteCommand();
 
         if (executeCommand <= 0) throw new Exception("鍐欏叆澶辫触");
@@ -245,8 +244,7 @@
             BoardStyle = barcodeInfo.BoardStyle,
             WorkNo = barcodeInfo.WorkNo,
             WorkLine = barcodeInfo.WorkLine,
-            SuppNo = barcodeInfo.SuppNo,
-            ItemId = barcodeInfo.ItemId,
+            SuppNo = barcodeInfo.SuppNo
         }).ExecuteCommand();
 
         if (executeCommand <= 0) throw new Exception("鍐欏叆澶辫触");
@@ -279,8 +277,7 @@
             BillNo = billNo,
             WorkNo = barcodeInfo.WorkNo,
             WorkLine = barcodeInfo.WorkLine,
-            SuppNo = barcodeInfo.SuppNo,
-            ItemId = barcodeInfo.ItemId,
+            SuppNo = barcodeInfo.SuppNo
         }).ExecuteCommand();
 
         if (executeCommand <= 0) throw new Exception("鍐欏叆澶辫触");

--
Gitblit v1.9.3