Пример #1
0
        public static string ImprestCount(int comid)
        {
            int totalcount = 0;

            try
            {
                B2bFinanceData fdate = new B2bFinanceData();
                var            list  = fdate.ImprestCount(comid);

                return(JsonConvert.SerializeObject(new { type = 100, msg = list }));
            }
            catch (Exception ex)
            {
                return(JsonConvert.SerializeObject(new { type = 1, totalCount = 0, msg = ex.Message }));

                throw;
            }
        }