From 8a169e59577fd2cf19ce4ec6cb88e47d0ff79d63 Mon Sep 17 00:00:00 2001
From: lixiaojun <1287241240@qq.com>
Date: 星期四, 20 二月 2025 18:25:59 +0800
Subject: [PATCH] 解决存储修改bug,没有完全解决

---
 BLL/PBS.BLL.Core/03-localclient/01-place/Place.cs |   36 ++++++++++++++++++------------------
 1 files changed, 18 insertions(+), 18 deletions(-)

diff --git a/BLL/PBS.BLL.Core/03-localclient/01-place/Place.cs b/BLL/PBS.BLL.Core/03-localclient/01-place/Place.cs
index f6e17b7..e0baa0f 100644
--- a/BLL/PBS.BLL.Core/03-localclient/01-place/Place.cs
+++ b/BLL/PBS.BLL.Core/03-localclient/01-place/Place.cs
@@ -4,10 +4,10 @@
     /// 鍦烘墍
     ///</summary>    
     public class Place : IPlace
-    { 
-        
+    {
+
         private readonly PBS.Service.Place _service = new();
-   
+
         #region Query
 
         /// <summary>
@@ -47,7 +47,7 @@
                 return vm_list;
             });
         }
- 
+
         /// <summary>
         /// 鑾峰彇鏈�澶ф帓搴忕爜
         /// </summary>
@@ -59,8 +59,8 @@
                 return sort_code;
             });
         }
-     
-        #endregion 
+
+        #endregion
 
         #region Insert
 
@@ -71,7 +71,7 @@
         {
             return await Task.Factory.StartNew(() =>
             {
- 				
+
                 if (!string.IsNullOrEmpty(input.TagName))
                 {
                     if (_service.IsExistTagName(input.TagName))
@@ -80,7 +80,7 @@
                     }
                 }
                 var model = input.Adapt<AddPlaceInput, PBS.Model.Place>();
-                model.SortCode = _service.GetMaxSortCode() + 1;            
+                model.SortCode = _service.GetMaxSortCode() + 1;
                 var id = _service.Insert(model);
                 return id;
             });
@@ -96,7 +96,7 @@
                 return false;
             });
         }
-  
+
         /// <summary>
         /// 澶ф壒閲忔彃鍏�
         /// </summary> 
@@ -124,7 +124,7 @@
                 {
                     throw YOops.Oh(eResultCode.Alert, InternalErrorCodes.D001, $"ID:{input.ID} 鏁版嵁涓嶅瓨鍦�");
                 }
- 	
+
                 if (!string.IsNullOrEmpty(input.TagName))
                 {
                     if (_service.IsExistTagNameExceptID(input.TagName, input.ID))
@@ -149,7 +149,7 @@
                 return false;
             });
         }
-        
+
         /// <summary>
         /// 澶ф壒閲忔洿鏂�
         /// </summary> 
@@ -160,8 +160,8 @@
                 return false;
             });
         }
-        
- 
+
+
         /// <summary>
         /// 鏇存柊鎺掑簭鐮�
         /// </summary>
@@ -241,7 +241,7 @@
                 return bol;
             });
         }
-    
+
         #endregion Update
 
         #region Exist
@@ -272,7 +272,7 @@
         #endregion
 
         #region Delete
-        
+
         /// <summary>
         /// 閫氳繃 ID 鍒犻櫎
         /// </summary>
@@ -309,8 +309,8 @@
             {
                 return false;
             });
-        } 
-        
-        #endregion 
+        }
+
+        #endregion
     }
 }
\ No newline at end of file

--
Gitblit v1.9.3