Ejemplo n.º 1
0
        /// <summary>
        /// 搜索各到账类型列表
        /// </summary>
        /// <returns></returns>
        public JsonResult PayList_searchMoney(string contract, string channel, string begin, string end, string person, string type)
        {
            DaPayList dal = new DaPayList();
            IList<PayList> pays = dal.getList(contract, channel, begin, end, person, Convert.ToInt32(type), BaseHelper.getCookie().id.ToString());

            var result = new CustomJsonResult();
            result.dateFormat = "yyyy-MM-dd";
            result.Data = new { total = pays.Count, rows = pays };
            return result;
        }