From ea882c1741812b0783b2924548cb9e8c638a1be9 Mon Sep 17 00:00:00 2001 From: duheng <2784771470@qq.com> Date: 星期二, 24 十二月 2024 13:50:36 +0800 Subject: [PATCH] 修改资产--弯头 --- BLL/HStation.BLL.Assets.Core/04-bll/06-Elbow/02-AssetsElbowMain/AssetsElbowMain_Instance.cs | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/BLL/HStation.BLL.Assets.Core/04-bll/06-Elbow/02-AssetsElbowMain/AssetsElbowMain_Instance.cs b/BLL/HStation.BLL.Assets.Core/04-bll/06-Elbow/02-AssetsElbowMain/AssetsElbowMain_Instance.cs index 04258d2..401320a 100644 --- a/BLL/HStation.BLL.Assets.Core/04-bll/06-Elbow/02-AssetsElbowMain/AssetsElbowMain_Instance.cs +++ b/BLL/HStation.BLL.Assets.Core/04-bll/06-Elbow/02-AssetsElbowMain/AssetsElbowMain_Instance.cs @@ -31,28 +31,28 @@ } //vmo to add dto - internal static HStation.Dto.Assets.AddElbowMianInput Vmo2AddDto(HStation.Vmo.AssetsElbowMainVmo vmo) + internal static HStation.Dto.Assets.AddAssetsElbowMainInput Vmo2AddDto(HStation.Vmo.AssetsElbowMainVmo vmo) { if (vmo == null) { return default; } - var mapper = new MapperConfiguration(cfg => cfg.CreateMap<HStation.Vmo.AssetsElbowMainVmo, HStation.Dto.Assets.AddElbowMianInput>() + var mapper = new MapperConfiguration(cfg => cfg.CreateMap<HStation.Vmo.AssetsElbowMainVmo, HStation.Dto.Assets.AddAssetsElbowMainInput>() ).CreateMapper(); - var dto = mapper.Map<HStation.Vmo.AssetsElbowMainVmo, HStation.Dto.Assets.AddElbowMianInput>(vmo); + var dto = mapper.Map<HStation.Vmo.AssetsElbowMainVmo, HStation.Dto.Assets.AddAssetsElbowMainInput>(vmo); return dto; } //vmo to add dtos - internal static List<HStation.Dto.Assets.AddElbowMianInput> Vmo2AddDtos(List<HStation.Vmo.AssetsElbowMainVmo> vmoList) + internal static List<HStation.Dto.Assets.AddAssetsElbowMainInput> Vmo2AddDtos(List<HStation.Vmo.AssetsElbowMainVmo> vmoList) { if (vmoList == null || vmoList.Count < 1) { return default; } - var mapper = new MapperConfiguration(cfg => cfg.CreateMap<HStation.Vmo.AssetsElbowMainVmo, HStation.Dto.Assets.AddElbowMianInput>() + var mapper = new MapperConfiguration(cfg => cfg.CreateMap<HStation.Vmo.AssetsElbowMainVmo, HStation.Dto.Assets.AddAssetsElbowMainInput>() ).CreateMapper(); - var dtoList = mapper.Map<List<HStation.Vmo.AssetsElbowMainVmo>, List<HStation.Dto.Assets.AddElbowMianInput>>(vmoList); + var dtoList = mapper.Map<List<HStation.Vmo.AssetsElbowMainVmo>, List<HStation.Dto.Assets.AddAssetsElbowMainInput>>(vmoList); return dtoList; } -- Gitblit v1.9.3