/// <summary> /// 表头数据(建档总数,档案调用,医院调用,个人调用) /// </summary> /// <returns></returns> public List <BigDataHome> HealthRecordData() { try { HealthRecordDAL dal = new HealthRecordDAL(); SqlParameter[] paras = new SqlParameter[] { new SqlParameter("@StartTime", SqlDbType.VarChar, 50), new SqlParameter("@EndTime", SqlDbType.VarChar, 50) }; paras[0].Value = "2"; paras[1].Value = "2"; return(dal.HealthRecordDataDAL("SP_healthRecord", paras)); } catch { return(new List <BigDataHome>()); } }
/// <summary> /// 健康档案根据年龄分组 /// </summary> /// <returns></returns> public List <BigDataHome> HealthBookByAgeData() { HealthRecordDAL dal = new HealthRecordDAL(); return(dal.HealthBookByAgeData()); }
/// <summary> /// 健康档案饼状图 /// </summary> /// <returns></returns> public List <BigDataHome> HealthRecordPie() { HealthRecordDAL dal = new HealthRecordDAL(); return(dal.HealthRecordPie()); }