Browse Source

项目

bjmzak
wxd 2 years ago
parent
commit
eb95c9dd58
  1. 5
      src/Shentun.Peis.Application.Contracts/Items/ItemDto.cs
  2. 6
      src/Shentun.Peis.Application/Items/ItemAppService.cs

5
src/Shentun.Peis.Application.Contracts/Items/ItemDto.cs

@ -90,6 +90,9 @@ namespace Shentun.Peis.Items
/// </summary>
public char LineModeFlag { get; set; }
/// <summary>
/// 仪器类别
/// </summary>
public Guid? DeviceTypeId { get; set; }
}
}

6
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); //更新
}
/// <summary>
/// 修改排序 置顶,置底
@ -245,6 +247,6 @@ namespace Shentun.Peis.Items
await _manager.UpdateSortManyAsync(input);
}
}
}
Loading…
Cancel
Save