From f2333318a31e92f6cbc3a572d8eb9fae9da0f892 Mon Sep 17 00:00:00 2001
From: lixiaojun <1287241240@qq.com>
Date: 星期六, 12 十月 2024 13:59:15 +0800
Subject: [PATCH] Merge branch 'master' of http://47.103.154.90:83/r/HStation/XHS.V1.0

---
 BLL/HStation.BLL.Assets.Core/03-localclient/04-PipeLineRoughnessCoefficient/PipeLineRoughnessCoefficient.cs |   36 ++++++++++++++++++------------------
 1 files changed, 18 insertions(+), 18 deletions(-)

diff --git a/BLL/HStation.BLL.Assets.Core/03-localclient/04-PipeLineRoughnessCoefficient/PipeLineRoughnessCoefficient.cs b/BLL/HStation.BLL.Assets.Core/03-localclient/04-PipeLineRoughnessCoefficient/PipeLineRoughnessCoefficient.cs
index a1ce88a..273df05 100644
--- a/BLL/HStation.BLL.Assets.Core/03-localclient/04-PipeLineRoughnessCoefficient/PipeLineRoughnessCoefficient.cs
+++ b/BLL/HStation.BLL.Assets.Core/03-localclient/04-PipeLineRoughnessCoefficient/PipeLineRoughnessCoefficient.cs
@@ -15,12 +15,12 @@
         /// <summary>
         /// 鑾峰彇鎵�鏈�
         /// </summary>
-        public async Task<List<PipeRoughnessCoefficientDto>> GetAll()
+        public async Task<List<AssetsPipeRoughnessCoefficientDto>> GetAll()
         {
             return await Task.Factory.StartNew(() =>
             {
                 var list = _service.GetAll();
-                var vm_list = list?.Select(x => new PipeRoughnessCoefficientDto(x)).ToList();
+                var vm_list = list?.Select(x => new AssetsPipeRoughnessCoefficientDto(x)).ToList();
                 return vm_list;
             });
         }
@@ -28,24 +28,24 @@
         /// <summary>
         /// 閫氳繃 ID 鑾峰彇
         /// </summary>
-        public async Task<PipeRoughnessCoefficientDto> GetByID(long ID)
+        public async Task<AssetsPipeRoughnessCoefficientDto> GetByID(long ID)
         {
             return await Task.Factory.StartNew(() =>
             {
                 var model = _service.GetByID(ID);
-                return model == null ? null : new PipeRoughnessCoefficientDto(model);
+                return model == null ? null : new AssetsPipeRoughnessCoefficientDto(model);
             });
         }
 
         /// <summary>
         /// 閫氳繃 绠¢亾ID 鑾峰彇
         /// </summary>
-        public async Task<List<PipeRoughnessCoefficientDto>> GetByPipeID(long ID)
+        public async Task<List<AssetsPipeRoughnessCoefficientDto>> GetByPipeID(long ID)
         {
             return await Task.Factory.StartNew(() =>
             {
                 var list = _service.GetByPipeID(ID);
-                var vm_list = list?.Select(x => new PipeRoughnessCoefficientDto(x)).ToList();
+                var vm_list = list?.Select(x => new AssetsPipeRoughnessCoefficientDto(x)).ToList();
                 return vm_list;
             });
         }
@@ -53,12 +53,12 @@
         /// <summary>
         /// 閫氳繃 Ids 鑾峰彇
         /// </summary>
-        public async Task<List<PipeRoughnessCoefficientDto>> GetByIds(List<long> Ids)
+        public async Task<List<AssetsPipeRoughnessCoefficientDto>> GetByIds(List<long> Ids)
         {
             return await Task.Factory.StartNew(() =>
             {
                 var list = _service.GetByIds(Ids);
-                var vm_list = list?.Select(x => new PipeRoughnessCoefficientDto(x)).ToList();
+                var vm_list = list?.Select(x => new AssetsPipeRoughnessCoefficientDto(x)).ToList();
                 return vm_list;
             });
         }
@@ -70,11 +70,11 @@
         /// <summary>
         /// 鎻掑叆涓�鏉�
         /// </summary>
-        public async Task<long> Insert(AddPipeRoughnessCoefficientInput input)
+        public async Task<long> Insert(AddAssetsPipeRoughnessCoefficientInput input)
         {
             return await Task.Factory.StartNew(() =>
             {
-                var model = input.Adapt<AddPipeRoughnessCoefficientInput, Model.PipeRoughnessCoefficient>();
+                var model = input.Adapt<AddAssetsPipeRoughnessCoefficientInput, Model.AssetsPipeRoughnessCoefficient>();
                 var id = _service.Insert(model);
                 return id;
             });
@@ -83,11 +83,11 @@
         /// <summary>
         /// 鎵归噺鎻掑叆
         /// </summary>
-        public async Task<bool> Inserts(List<AddPipeRoughnessCoefficientInput> inputList)
+        public async Task<bool> Inserts(List<AddAssetsPipeRoughnessCoefficientInput> inputList)
         {
             return await Task.Factory.StartNew(() =>
             {
-                var list = inputList.Select(x => x.Adapt<AddPipeRoughnessCoefficientInput, Model.PipeRoughnessCoefficient>()).ToList();
+                var list = inputList.Select(x => x.Adapt<AddAssetsPipeRoughnessCoefficientInput, Model.AssetsPipeRoughnessCoefficient>()).ToList();
                 var bol = _service.Inserts(list);
                 return bol;
             });
@@ -96,7 +96,7 @@
         /// <summary>
         /// 澶ф壒閲忔彃鍏�
         /// </summary>
-        public async Task<bool> BulkInserts(List<AddPipeRoughnessCoefficientInput> list)
+        public async Task<bool> BulkInserts(List<AddAssetsPipeRoughnessCoefficientInput> list)
         {
             return await Task.Factory.StartNew(() =>
             {
@@ -111,7 +111,7 @@
         /// <summary>
         /// 鏇存柊涓�鏉�
         /// </summary>
-        public async Task<bool> Update(UpdatePipeRoughnessCoefficientInput input)
+        public async Task<bool> Update(UpdateAssetsPipeRoughnessCoefficientInput input)
         {
             return await Task.Factory.StartNew(() =>
             {
@@ -121,7 +121,7 @@
                     throw YOops.Oh(eResultCode.Alert, InternalErrorCodes.D001, $"ID:{input.ID} 鏁版嵁涓嶅瓨鍦�");
                 }
 
-                var rhs = new Model.PipeRoughnessCoefficient(model);
+                var rhs = new Model.AssetsPipeRoughnessCoefficient(model);
                 input.Adapt(rhs);
                 var bol = _service.Update(rhs);
                 return bol;
@@ -131,7 +131,7 @@
         /// <summary>
         /// 鎵归噺鏇存柊
         /// </summary>
-        public async Task<bool> Updates(List<UpdatePipeRoughnessCoefficientInput> inputList)
+        public async Task<bool> Updates(List<UpdateAssetsPipeRoughnessCoefficientInput> inputList)
         {
             return await Task.Factory.StartNew(() =>
             {
@@ -139,7 +139,7 @@
                 {
                     return false;
                 }
-                var list = inputList.Select(x => x.Adapt<UpdatePipeRoughnessCoefficientInput, Model.PipeRoughnessCoefficient>()).ToList();
+                var list = inputList.Select(x => x.Adapt<UpdateAssetsPipeRoughnessCoefficientInput, Model.AssetsPipeRoughnessCoefficient>()).ToList();
                 var bol = _service.Updates(list);
                 return bol;
             });
@@ -148,7 +148,7 @@
         /// <summary>
         /// 澶ф壒閲忔洿鏂�
         /// </summary>
-        public async Task<bool> BulkUpdates(List<UpdatePipeRoughnessCoefficientInput> list)
+        public async Task<bool> BulkUpdates(List<UpdateAssetsPipeRoughnessCoefficientInput> list)
         {
             return await Task.Factory.StartNew(() =>
             {

--
Gitblit v1.9.3