diff --git a/src/Shentun.Peis.Application.Contracts/Items/ItemDto.cs b/src/Shentun.Peis.Application.Contracts/Items/ItemDto.cs index 8ed4d5e..2f4c63d 100644 --- a/src/Shentun.Peis.Application.Contracts/Items/ItemDto.cs +++ b/src/Shentun.Peis.Application.Contracts/Items/ItemDto.cs @@ -90,6 +90,9 @@ namespace Shentun.Peis.Items /// public char LineModeFlag { get; set; } - + /// + /// 仪器类别 + /// + public Guid? DeviceTypeId { get; set; } } } diff --git a/src/Shentun.Peis.Application/Items/ItemAppService.cs b/src/Shentun.Peis.Application/Items/ItemAppService.cs index 31abe04..2d29a41 100644 --- a/src/Shentun.Peis.Application/Items/ItemAppService.cs +++ b/src/Shentun.Peis.Application/Items/ItemAppService.cs @@ -106,6 +106,7 @@ namespace Shentun.Peis.Items UnitId = s.UnitId, LineModeFlag = s.LineModeFlag, DiagnosisFunction = s.DiagnosisFunction, + DeviceTypeId = s.DeviceTypeId, CreatorName = EntityHelper.GetUserNameNoSql(userList, s.CreatorId), LastModifierName = EntityHelper.GetUserNameNoSql(userList, s.LastModifierId) }).OrderBy(o => o.DisplayOrder).ToList(); @@ -159,6 +160,7 @@ namespace Shentun.Peis.Items UnitId = s.UnitId, LineModeFlag = s.LineModeFlag, DiagnosisFunction = s.DiagnosisFunction, + DeviceTypeId = s.DeviceTypeId, CreatorName = EntityHelper.GetUserNameNoSql(userList, s.CreatorId), LastModifierName = EntityHelper.GetUserNameNoSql(userList, s.LastModifierId) }).OrderBy(o => o.DisplayOrder).ToList(); @@ -220,7 +222,7 @@ namespace Shentun.Peis.Items await _manager.UpdateRangeTypeAsync(input.ItemId, input.ReferenceRangeTypeFlag); //更新 } - + /// /// 修改排序 置顶,置底 @@ -245,6 +247,6 @@ namespace Shentun.Peis.Items await _manager.UpdateSortManyAsync(input); } - + } }