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; + + + } + /// /// 同步外网律师人员信息(未完成) (根据律师身份证号更新或新增用户信息) /// ///