From eb95c9dd5853411d3effd0d36a0f1824c769e5e2 Mon Sep 17 00:00:00 2001
From: wxd <123@qq.com>
Date: Thu, 18 Apr 2024 18:30:16 +0800
Subject: [PATCH] =?UTF-8?q?=E9=A1=B9=E7=9B=AE?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
 src/Shentun.Peis.Application.Contracts/Items/ItemDto.cs | 5 ++++-
 src/Shentun.Peis.Application/Items/ItemAppService.cs    | 6 ++++--
 2 files changed, 8 insertions(+), 3 deletions(-)
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);
         }
 
-        
+
     }
 }