From 982b21b945c3621e24c3e699e48a95a161bb192a Mon Sep 17 00:00:00 2001
From: hwh <332078369@qq.com>
Date: 星期四, 11 七月 2024 11:12:52 +0800
Subject: [PATCH] 全局返回和异常处理

---
 Wms/WMS.IBLL/ISysServer/IDepartmentServer.cs |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/Wms/WMS.IBLL/ISysServer/IDepartmentServer.cs b/Wms/WMS.IBLL/ISysServer/IDepartmentServer.cs
index 6dc4b87..c11593b 100644
--- a/Wms/WMS.IBLL/ISysServer/IDepartmentServer.cs
+++ b/Wms/WMS.IBLL/ISysServer/IDepartmentServer.cs
@@ -18,20 +18,20 @@
         /// <param name="DepartmentName">閮ㄩ棬鍚嶇О</param>
         /// <param name="DepartmentNo">閮ㄩ棬鍙�</param>
         /// <returns></returns>
-        List<DepartmentDto> GetDepartmentList(string DepartmentName, string DepartmentNo);
+        Task<List<DepartmentDto>> GetDepartmentList(string DepartmentName, string DepartmentNo);
 
         /// <summary>
         /// 鏍规嵁id鑾峰彇閮ㄩ棬淇℃伅
         /// </summary>
         /// <param name="id">閮ㄩ棬id</param>
         /// <returns></returns>
-        SysDepartment GetDepartmentById(int id);
+        Task<SysDepartment> GetDepartmentById(int id);
 
         /// <summary>
         /// 鏍规嵁閮ㄩ棬鍙疯幏鍙栭儴闂ㄤ俊鎭�
         /// </summary>
         /// <returns></returns>
-        int GetDepartmentByNo(string DepartmentNo);
+        Task<int> GetDepartmentByNo(string DepartmentNo);
 
         /// <summary>
         /// 鏂板閮ㄩ棬淇℃伅

--
Gitblit v1.8.0