public string ProjectDataCount() { string ysmstphid = System.Web.HttpContext.Current.Request.Params["ng3_logid"]; //当前人员 string usercode = System.Web.HttpContext.Current.Request.Params["ng3_usercode"]; //当前人员//根据年度过滤 var sessionFYear = System.Web.HttpContext.Current.Request.Params["sessionFYear"]; var dicWhere = new Dictionary <string, object>(); long ng3_logid = 0; long.TryParse(ysmstphid, out ng3_logid); var model = ProjectMstService.GetDataCount(0, 1, ng3_logid, usercode, sessionFYear); //var timeConverter = new IsoDateTimeConverter { DateTimeFormat = "yyyy-MM-dd HH:mm:ss" }; //return JsonConvert.SerializeObject(result, timeConverter); var list = new List <ProjectCountModel>(); list.Add(model); return(DataConverterHelper.EntityToJson <ProjectCountModel>(model)); }