From fe59cb0e4d060664927dca75d453162deae3e17d Mon Sep 17 00:00:00 2001
From: lixiaojun <1287241240@qq.com>
Date: 星期四, 12 十二月 2024 22:23:52 +0800
Subject: [PATCH] 增加产品冷却塔至bll

---
 Service/HStation.Service.Assets.Core/05-service/11-Exchanger/05-ExchangerMainAndPartMapping/ExchangerMainAndPartMapping_Instance.cs |   28 ++++++++++++++--------------
 1 files changed, 14 insertions(+), 14 deletions(-)

diff --git a/Service/HStation.Service.Assets.Core/05-service/11-Exchanger/05-ExchangerMainAndPartMapping/ExchangerMainAndPartMapping_Instance.cs b/Service/HStation.Service.Assets.Core/05-service/11-Exchanger/05-ExchangerMainAndPartMapping/ExchangerMainAndPartMapping_Instance.cs
index 919cf7c..492f3fc 100644
--- a/Service/HStation.Service.Assets.Core/05-service/11-Exchanger/05-ExchangerMainAndPartMapping/ExchangerMainAndPartMapping_Instance.cs
+++ b/Service/HStation.Service.Assets.Core/05-service/11-Exchanger/05-ExchangerMainAndPartMapping/ExchangerMainAndPartMapping_Instance.cs
@@ -3,55 +3,55 @@
     public partial class AssetsExchangerMainAndPartMapping
     {
         //Entity to GetModel
-        internal static Model.AssetsExchangerMainAndPartMap Entity2Model(Entity.AssetsExchangerMainAndPartMapping entity)
+        internal static Model.AssetsExchangerMainAndPartMapping Entity2Model(Entity.AssetsExchangerMainAndPartMapping entity)
         {
             if (entity == null)
                 return default;
-            var mapper = new MapperConfiguration(cfg => cfg.CreateMap<Entity.AssetsExchangerMainAndPartMapping, Model.AssetsExchangerMainAndPartMap>()
+            var mapper = new MapperConfiguration(cfg => cfg.CreateMap<Entity.AssetsExchangerMainAndPartMapping, Model.AssetsExchangerMainAndPartMapping>()
              ).CreateMapper();
-            var model = mapper.Map<Entity.AssetsExchangerMainAndPartMapping, Model.AssetsExchangerMainAndPartMap>(entity);
+            var model = mapper.Map<Entity.AssetsExchangerMainAndPartMapping, Model.AssetsExchangerMainAndPartMapping>(entity);
             return model;
         }
 
         //Entities to GetModels
-        internal static List<Model.AssetsExchangerMainAndPartMap> Entity2Models(List<Entity.AssetsExchangerMainAndPartMapping> entities)
+        internal static List<Model.AssetsExchangerMainAndPartMapping> Entity2Models(List<Entity.AssetsExchangerMainAndPartMapping> entities)
         {
             if (entities == null || entities.Count < 1)
                 return default;
-            var mapper = new MapperConfiguration(cfg => cfg.CreateMap<Entity.AssetsExchangerMainAndPartMapping, Model.AssetsExchangerMainAndPartMap>()
+            var mapper = new MapperConfiguration(cfg => cfg.CreateMap<Entity.AssetsExchangerMainAndPartMapping, Model.AssetsExchangerMainAndPartMapping>()
              ).CreateMapper();
-            var models = mapper.Map<List<Entity.AssetsExchangerMainAndPartMapping>, List<Model.AssetsExchangerMainAndPartMap>>(entities);
+            var models = mapper.Map<List<Entity.AssetsExchangerMainAndPartMapping>, List<Model.AssetsExchangerMainAndPartMapping>>(entities);
             return models;
         }
 
         //Model to Entity
-        internal static Entity.AssetsExchangerMainAndPartMapping Model2Entity(Model.AssetsExchangerMainAndPartMap model)
+        internal static Entity.AssetsExchangerMainAndPartMapping Model2Entity(Model.AssetsExchangerMainAndPartMapping model)
         {
             if (model == null)
                 return default;
-            var mapper = new MapperConfiguration(cfg => cfg.CreateMap<Model.AssetsExchangerMainAndPartMap, Entity.AssetsExchangerMainAndPartMapping>()
+            var mapper = new MapperConfiguration(cfg => cfg.CreateMap<Model.AssetsExchangerMainAndPartMapping, Entity.AssetsExchangerMainAndPartMapping>()
              ).CreateMapper();
-            var entity = mapper.Map<Model.AssetsExchangerMainAndPartMap, Entity.AssetsExchangerMainAndPartMapping>(model);
+            var entity = mapper.Map<Model.AssetsExchangerMainAndPartMapping, Entity.AssetsExchangerMainAndPartMapping>(model);
             return entity;
         }
 
         //Models to Entities
-        internal static List<Entity.AssetsExchangerMainAndPartMapping> Model2Entities(List<Model.AssetsExchangerMainAndPartMap> models)
+        internal static List<Entity.AssetsExchangerMainAndPartMapping> Model2Entities(List<Model.AssetsExchangerMainAndPartMapping> models)
         {
             if (models == null || models.Count < 1)
                 return default;
-            var mapper = new MapperConfiguration(cfg => cfg.CreateMap<Model.AssetsExchangerMainAndPartMap, Entity.AssetsExchangerMainAndPartMapping>()
+            var mapper = new MapperConfiguration(cfg => cfg.CreateMap<Model.AssetsExchangerMainAndPartMapping, Entity.AssetsExchangerMainAndPartMapping>()
              ).CreateMapper();
-            var entities = mapper.Map<List<Model.AssetsExchangerMainAndPartMap>, List<Entity.AssetsExchangerMainAndPartMapping>>(models);
+            var entities = mapper.Map<List<Model.AssetsExchangerMainAndPartMapping>, List<Entity.AssetsExchangerMainAndPartMapping>>(models);
             return entities;
         }
 
         //Model to Entity
-        internal static void Model2Entity(Model.AssetsExchangerMainAndPartMap model, Entity.AssetsExchangerMainAndPartMapping entity)
+        internal static void Model2Entity(Model.AssetsExchangerMainAndPartMapping model, Entity.AssetsExchangerMainAndPartMapping entity)
         {
             if (model == null || entity == null)
                 return;
-            var mapper = new MapperConfiguration(cfg => cfg.CreateMap<Model.AssetsExchangerMainAndPartMap, Entity.AssetsExchangerMainAndPartMapping>()
+            var mapper = new MapperConfiguration(cfg => cfg.CreateMap<Model.AssetsExchangerMainAndPartMapping, Entity.AssetsExchangerMainAndPartMapping>()
               ).CreateMapper();
             mapper.Map(model, entity);
         }

--
Gitblit v1.9.3