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

---
 Service/HStation.Service.Assets.Core/05-service/01-PumpMainManage/05-PumpPartMain/PumpPartMain_Instance.cs |   30 +++++++++++++++---------------
 1 files changed, 15 insertions(+), 15 deletions(-)

diff --git a/Service/HStation.Service.Assets.Core/05-service/01-PumpMainManage/05-PumpPartMain/PumpPartMain_Instance.cs b/Service/HStation.Service.Assets.Core/05-service/01-PumpMainManage/05-PumpPartMain/PumpPartMain_Instance.cs
index 3eb2a36..a0bca6e 100644
--- a/Service/HStation.Service.Assets.Core/05-service/01-PumpMainManage/05-PumpPartMain/PumpPartMain_Instance.cs
+++ b/Service/HStation.Service.Assets.Core/05-service/01-PumpMainManage/05-PumpPartMain/PumpPartMain_Instance.cs
@@ -1,57 +1,57 @@
 锘縩amespace HStation.Service
 {
-    public partial class PumpPartMain
+    public partial class AssetsPumpPartMain
     {
         //Entity to GetModel
-        internal static Model.PumpPartMain Entity2Model(Entity.PumpPartMain entity)
+        internal static Model.AssetsPumpPartMain Entity2Model(Entity.AssetsPumpPartMain entity)
         {
             if (entity == null)
                 return default;
-            var mapper = new MapperConfiguration(cfg => cfg.CreateMap<Entity.PumpPartMain, Model.PumpPartMain>()
+            var mapper = new MapperConfiguration(cfg => cfg.CreateMap<Entity.AssetsPumpPartMain, Model.AssetsPumpPartMain>()
              ).CreateMapper();
-            var model = mapper.Map<Entity.PumpPartMain, Model.PumpPartMain>(entity);
+            var model = mapper.Map<Entity.AssetsPumpPartMain, Model.AssetsPumpPartMain>(entity);
             return model;
         }
 
         //Entities to GetModels
-        internal static List<Model.PumpPartMain> Entity2Models(List<Entity.PumpPartMain> entities)
+        internal static List<Model.AssetsPumpPartMain> Entity2Models(List<Entity.AssetsPumpPartMain> entities)
         {
             if (entities == null || entities.Count < 1)
                 return default;
-            var mapper = new MapperConfiguration(cfg => cfg.CreateMap<Entity.PumpPartMain, Model.PumpPartMain>()
+            var mapper = new MapperConfiguration(cfg => cfg.CreateMap<Entity.AssetsPumpPartMain, Model.AssetsPumpPartMain>()
              ).CreateMapper();
-            var models = mapper.Map<List<Entity.PumpPartMain>, List<Model.PumpPartMain>>(entities);
+            var models = mapper.Map<List<Entity.AssetsPumpPartMain>, List<Model.AssetsPumpPartMain>>(entities);
             return models;
         }
 
         //Model to Entity
-        internal static Entity.PumpPartMain Model2Entity(Model.PumpPartMain model)
+        internal static Entity.AssetsPumpPartMain Model2Entity(Model.AssetsPumpPartMain model)
         {
             if (model == null)
                 return default;
-            var mapper = new MapperConfiguration(cfg => cfg.CreateMap<Model.PumpPartMain, Entity.PumpPartMain>()
+            var mapper = new MapperConfiguration(cfg => cfg.CreateMap<Model.AssetsPumpPartMain, Entity.AssetsPumpPartMain>()
              ).CreateMapper();
-            var entity = mapper.Map<Model.PumpPartMain, Entity.PumpPartMain>(model);
+            var entity = mapper.Map<Model.AssetsPumpPartMain, Entity.AssetsPumpPartMain>(model);
             return entity;
         }
 
         //Models to Entities
-        internal static List<Entity.PumpPartMain> Model2Entities(List<Model.PumpPartMain> models)
+        internal static List<Entity.AssetsPumpPartMain> Model2Entities(List<Model.AssetsPumpPartMain> models)
         {
             if (models == null || models.Count < 1)
                 return default;
-            var mapper = new MapperConfiguration(cfg => cfg.CreateMap<Model.PumpPartMain, Entity.PumpPartMain>()
+            var mapper = new MapperConfiguration(cfg => cfg.CreateMap<Model.AssetsPumpPartMain, Entity.AssetsPumpPartMain>()
              ).CreateMapper();
-            var entities = mapper.Map<List<Model.PumpPartMain>, List<Entity.PumpPartMain>>(models);
+            var entities = mapper.Map<List<Model.AssetsPumpPartMain>, List<Entity.AssetsPumpPartMain>>(models);
             return entities;
         }
 
         //Model to Entity
-        internal static void Model2Entity(Model.PumpPartMain model, Entity.PumpPartMain entity)
+        internal static void Model2Entity(Model.AssetsPumpPartMain model, Entity.AssetsPumpPartMain entity)
         {
             if (model == null || entity == null)
                 return;
-            var mapper = new MapperConfiguration(cfg => cfg.CreateMap<Model.PumpPartMain, Entity.PumpPartMain>()
+            var mapper = new MapperConfiguration(cfg => cfg.CreateMap<Model.AssetsPumpPartMain, Entity.AssetsPumpPartMain>()
               ).CreateMapper();
             mapper.Map(model, entity);
         }

--
Gitblit v1.9.3