Exemplo n.º 1
0
 /// <summary>
 /// 获取请求会诊单列表
 /// </summary>
 /// <param name="userFilter"></param>
 /// <returns></returns>
 public string GetRequestConsultationByUser()
 {
     return(base.ExecuteActionJsonResult("获取列表", () =>
     {
         //UserFilter userFilter = GetPageData<UserFilter>(0);
         List <CD_Consultation> list = service.GetConsultationByUser(UserTokenManager.GetUId(Request["token"])).Where(f => f.Del != 1).ToList();
         if (list.Count <= 0)
         {
             return new WebApi_Result()
             {
                 code = 1, msg = "未查询到任何数据"
             };
         }
         return new WebApi_Result()
         {
             code = 0, data = list, count = list.Count
         };
     }));
 }