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;