Exemplo n.º 1
0
 /// <summary>
 /// 获取当前选中部门及其子部门
 /// </summary>
 /// <param name="itemId"></param>
 /// <param name="keyword"></param>
 /// <returns></returns>
 public List <OrganizeEntity> GetSelectEntitys(string itemId, string keyword)
 {
     return(service.GetItemList(itemId).Where(t => t.FEnCode.Contains(keyword) || t.FShortName.Contains(keyword)).ToList());
 }