/// <summary> /// 部门接口 /// </summary> /// <param name="request"></param> /// <returns></returns> public DepartmentInfoGetResponse GetDepartment(DepartmentInfoGetRequest request) { DepartmentInfoGetResponse der = new DepartmentInfoGetResponse(); der.Departments = dal.GetDepartmentInfos(); if (der.Departments.Count > 0) { der.Message = "部门信息调用成功"; der.IsRegistSuccess = true; } return(der); }
/// <summary> /// 部门 /// </summary> /// <param name="request"></param> /// <returns></returns> public DepartmentInfoGetResponse DepartmentInfoGet(DepartmentInfoGetRequest request) { return(ApiRequestHelp.Post <DepartmentInfoGetRequest, DepartmentInfoGetResponse>(request)); }
public DepartmentInfoGetResponse DepartmentInfoGet(DepartmentInfoGetRequest request) { return(Userbll.Instance.GetDepartment(request)); }
/// <summary> /// 部门 /// </summary> /// <param name="request"></param> /// <returns></returns> public JsonResult DepartmentInfoGet(DepartmentInfoGetRequest request) { return(Json(bll.DepartmentInfoGet(request))); }