Browse Source

..

Branch_hongbo
xusc 3 weeks ago
parent
commit
da4439f144
  1. 4
      src/aspnet-core/ICS.Application/Business/Service/设备管理/IcsEquipment/IcsEquipmentAppService.cs

4
src/aspnet-core/ICS.Application/Business/Service/设备管理/IcsEquipment/IcsEquipmentAppService.cs

@ -195,11 +195,11 @@ namespace ICS.Application.Business.Service
}
var entity = ObjectMapper.Map<IcsEquipment>(input);
entity.EqpUseStatus = IcsEqpUseStatusEnum.Normal.ToString();
//调用领域服务
entity = await _icsEquipmentManager.CreateAsync(entity);
//entity.EqpStatus = "InUse";
entity.EqpUseStatus = IcsEqpUseStatusEnum.Normal.ToString();
var dto = ObjectMapper.Map<IcsEquipmentEditDto>(entity);
return dto;

Loading…
Cancel
Save