From 8dd9fc1a302394e1511f44ec35127e42fd20c1ea Mon Sep 17 00:00:00 2001
From: 南骏 池 <chiffly@163.com>
Date: 星期五, 07 二月 2025 08:10:38 +0800
Subject: [PATCH] 1.条码拆分

---
 service/QC/LljService.cs |    7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/service/QC/LljService.cs b/service/QC/LljService.cs
index a38eb54..e6be715 100644
--- a/service/QC/LljService.cs
+++ b/service/QC/LljService.cs
@@ -253,6 +253,7 @@
                 var item = new MesQaItemsDetectDetail12();
                 item.ParentGuid = detail.ParentGuid;
                 item.GrandpaGuid = detail.GrandpaGuid;
+                item.FcheckItem = detail.FcheckItem;
                 item.Fstand = detail.Fstand;
                 item.FcheckResu = detail.FcheckResu;
                 item.CreateBy = detail.LastupdateBy;
@@ -260,7 +261,7 @@
                 result.Add(item);
             }
 
-            return db.Insertable(result).IgnoreColumns(true).ExecuteCommand();
+            return db.Insertable(result).PageSize(1).IgnoreColumnsNull().ExecuteCommand();
         });
 
         detail.CreateBy = detail.LastupdateBy;
@@ -451,9 +452,7 @@
             if (qsItemOqcItem.FupAllow.IsNullOrEmpty()
                 && qsItemOqcItem.FdownAllow.IsNullOrEmpty()
                 && qsItemOqcItem.Fstand == null)
-            {
                 mesQaItemsDetectDetail12.isNumber = false;
-            }
         }
 
         return rkjDto;
@@ -579,7 +578,7 @@
             throw new Exception("璇ユ楠屽崟宸叉彁浜�");
 
         if (mesQaItemsDetect01.FcheckDate == null)
-            throw new Exception("璇ユ娴嬪崟鏈緭鍏ユ楠屾棩鏈燂紝璇锋牳瀵广��");
+            throw new Exception("璇ユ娴嬪崟娌℃湁妫�楠屽畬鎴愶紝璇锋牳瀵广��");
 
         if (mesQaItemsDetect01.FcheckBy.IsNullOrEmpty())
             throw new Exception("璇ユ娴嬪崟鏈緭鍏ユ楠屼汉鍛橈紝璇锋牳瀵广��");

--
Gitblit v1.9.3