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/MesSupplierManager.cs | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/StandardPda/MES.Service/service/BasicData/MesSupplierManager.cs b/StandardPda/MES.Service/service/BasicData/MesSupplierManager.cs index 95503d6..9a6dc5a 100644 --- a/StandardPda/MES.Service/service/BasicData/MesSupplierManager.cs +++ b/StandardPda/MES.Service/service/BasicData/MesSupplierManager.cs @@ -201,7 +201,7 @@ { DeleteSupplier(entity); - var insert = db.Insertable(entity).ExecuteCommand(); + var insert = db.Insertable(entity).PageSize(1).IgnoreColumnsNull().ExecuteCommand(); return insert > 0; } } \ No newline at end of file -- Gitblit v1.9.3