Browse Source

Merge branch 'master' of http://git.ius.plus:88/Project-Wing/WingInterfaceLibrary

warr.qian 1 year ago
parent
commit
3f48a171b1

+ 9 - 2
src/Interface/DBInterface/IDeviceInfoDBService.cs

@@ -47,6 +47,13 @@ namespace WingInterfaceLibrary.Interface.DBInterface
         /// <returns></returns>
         Task<List<DeviceInfoDTO>> FindDeviceInfoListByOrganizationCodeAsync(string organizationCode);
 
+        /// <summary>
+        /// 根据组织编码列表查询所属全部设备信息
+        /// </summary>
+        /// <param name="organizationCode"></param>
+        /// <returns></returns>
+        Task<List<DeviceInfoDTO>> FindDeviceInfoListByOrganizationCodesAsync(IList<string> organizationCodes);
+
         /// <summary>
         /// 根据设备序列号查询设备
         /// </summary>
@@ -226,14 +233,14 @@ namespace WingInterfaceLibrary.Interface.DBInterface
         /// <param name="request"></param>
         /// <returns></returns>
         Task<bool> UpdateDevicePrinterDBAsync(UpdateDevicePrinterDBRequest request);
-        
+
         /// <summary>
         /// 批量新增超声机数据
         /// </summary>
         /// <param name="request">请求实体</param>
         /// <returns>是否成功</returns>
         Task<bool> BatchInsertDeviceDataDBAsync(BatchInsertDeviceRequest request);
-        
+
         /// <summary>
         /// 查询打印机驱动是否存在
         /// </summary>

+ 7 - 0
src/Interface/DBInterface/IOrganizationDBService.cs

@@ -107,5 +107,12 @@ namespace WingInterfaceLibrary.Interface.DBInterface
         /// <param name="request">请求实体</param>
         /// <returns>是否成功</returns>
         Task<bool> BatchInsertMedicalConsortiumDBAsync(BatchInsertMedicalConsortiumRequest request);
+
+        /// <summary>
+        /// 取该医院组织的子孙医院
+        /// </summary>
+        /// <param name="rootOrganizationCode"></param>
+        /// <returns></returns>
+        Task<List<OrganizationDTO>> GetAllChildOrganizations(string rootOrganizationCode);
     }
 }