From 44a7c47a724c154c54e256727c75e79d31fd42e2 Mon Sep 17 00:00:00 2001
From: 啊鑫 <t2856754968@163.com>
Date: 星期四, 05 六月 2025 21:42:40 +0800
Subject: [PATCH] 优化代码格式,添加到货标识和查询条件

---
 StandardPda/MES.Service/service/BasicData/MesSupplierManager.cs |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/StandardPda/MES.Service/service/BasicData/MesSupplierManager.cs b/StandardPda/MES.Service/service/BasicData/MesSupplierManager.cs
index 9a6dc5a..8bac07c 100644
--- a/StandardPda/MES.Service/service/BasicData/MesSupplierManager.cs
+++ b/StandardPda/MES.Service/service/BasicData/MesSupplierManager.cs
@@ -69,7 +69,7 @@
         // 鎻愬彇鎵�鏈夐渶瑕佺殑 MesId 缁勫悎 
         var ids = supplierId.Select(customer => customer.Id.ToString())
             .ToList();
-        
+
         // 浣跨敤杩欎簺 MesId 鍘绘煡璇� MesLinkU9 琛紝鎵惧埌瀵瑰簲鐨� U9Id
         var u9Ids = Db.Queryable<MesLinkU9>()
             .Where(u =>
@@ -200,8 +200,9 @@
     private bool InsertOrUpdate(SqlSugarScope db, List<MesSupplier> entity)
     {
         DeleteSupplier(entity);
-         
-        var insert = db.Insertable(entity).PageSize(1).IgnoreColumnsNull().ExecuteCommand();
+
+        var insert = db.Insertable(entity).PageSize(1).IgnoreColumnsNull()
+            .ExecuteCommand();
         return insert > 0;
     }
 }
\ No newline at end of file

--
Gitblit v1.9.3