Exemplo n.º 1
0
        /// <summary>
        /// 各中队事件概况
        /// </summary>
        /// <param name="type"></param>
        /// <returns></returns>
        public string getEventProfile(int type)
        {
            SM_CitizenServicesBLL bll = new SM_CitizenServicesBLL();
            List <int>            sbs = bll.GetSbsEventTypeStatistics(type);
            List <int>            cls = bll.GetClsEventTypeStatistics(type);
            List <int>            jas = bll.GetJasEventTypeStatistics(type);
            string str = JsonConvert.SerializeObject(sbs).ToString() + "|" + JsonConvert.SerializeObject(cls).ToString() + "|" + JsonConvert.SerializeObject(jas).ToString();

            return(str);
        }