From 7ad0183e05bdb9c88e8f33c0cc00342c428b02d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=BD=87=E9=98=B3=20=E9=82=B9?= Date: Wed, 25 Oct 2023 17:31:14 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E6=A0=B9=E6=8D=AE=E5=8D=95?= =?UTF-8?q?=E4=BD=8D=E7=BC=96=E7=A0=81=E8=8E=B7=E5=8F=96=E8=AF=A5=E5=8D=95?= =?UTF-8?q?=E4=BD=8D=E4=B8=8B=E6=89=80=E6=9C=89=E7=9A=84=E5=BE=8B=E5=B8=88?= =?UTF-8?q?=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Common/LawyerArchivesController.cs | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/24Hour/Controllers/Common/LawyerArchivesController.cs b/24Hour/Controllers/Common/LawyerArchivesController.cs index 0efae88..0c64c7e 100644 --- a/24Hour/Controllers/Common/LawyerArchivesController.cs +++ b/24Hour/Controllers/Common/LawyerArchivesController.cs @@ -51,6 +51,24 @@ namespace _24Hour.Controllers.Common #endregion #region 律师阅卷 /// + /// 获取当前登录人员的单位下所有的律师信息 + /// + /// + [HttpGet("GetAllLawyerByUnitCode")] + public async Task>> GetAllLawyerByUnitCode() + { + var res = new Result>(); + + var data = await _db.Queryable().Where(x => x.unitCode == _userdata.unitCode && x.IsDeleted == 0).ToListAsync(); + + res.IsSucceed = true; + res.result = data; + + return res; + + + } + /// /// 同步外网律师人员信息(未完成) (根据律师身份证号更新或新增用户信息) /// ///