From da4439f1449cd73776df0e2552b1ef9b85f6f127 Mon Sep 17 00:00:00 2001 From: xusc Date: Fri, 1 Nov 2024 10:40:42 +0800 Subject: [PATCH] .. --- .../设备管理/IcsEquipment/IcsEquipmentAppService.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/aspnet-core/ICS.Application/Business/Service/设备管理/IcsEquipment/IcsEquipmentAppService.cs b/src/aspnet-core/ICS.Application/Business/Service/设备管理/IcsEquipment/IcsEquipmentAppService.cs index 8c1151c2..d15f5619 100644 --- a/src/aspnet-core/ICS.Application/Business/Service/设备管理/IcsEquipment/IcsEquipmentAppService.cs +++ b/src/aspnet-core/ICS.Application/Business/Service/设备管理/IcsEquipment/IcsEquipmentAppService.cs @@ -195,11 +195,11 @@ namespace ICS.Application.Business.Service } var entity = ObjectMapper.Map(input); - + entity.EqpUseStatus = IcsEqpUseStatusEnum.Normal.ToString(); //调用领域服务 entity = await _icsEquipmentManager.CreateAsync(entity); //entity.EqpStatus = "InUse"; - entity.EqpUseStatus = IcsEqpUseStatusEnum.Normal.ToString(); + var dto = ObjectMapper.Map(entity); return dto;