|
|
@ -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; |
|
|
|