From 2b38e425925d194c5cd4767c8c13e5f5d23ab120 Mon Sep 17 00:00:00 2001
From: 啊鑫 <t2856754968@163.com>
Date: 星期五, 24 一月 2025 09:54:20 +0800
Subject: [PATCH] 11

---
 StandardPda/MES.Service/service/BasicData/EmployeeInfoManager.cs |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/StandardPda/MES.Service/service/BasicData/EmployeeInfoManager.cs b/StandardPda/MES.Service/service/BasicData/EmployeeInfoManager.cs
index 47c3324..1146417 100644
--- a/StandardPda/MES.Service/service/BasicData/EmployeeInfoManager.cs
+++ b/StandardPda/MES.Service/service/BasicData/EmployeeInfoManager.cs
@@ -56,7 +56,7 @@
 
             var executeCommand =
                 db.Insertable(entityEmployeeInfo).ExecuteCommand();
-            var command = db.Insertable(entityEmployeeItems).ExecuteCommand();
+            var command = db.Insertable(entityEmployeeItems).PageSize(1).IgnoreColumnsNull().ExecuteCommand();
 
             return executeCommand > 0 && command > 0;
         }

--
Gitblit v1.9.3