Exemplo n.º 1
0
        public string GetMoney(string userType, string starttime, string endtime, string type)
        {
            IStatisticsMoneyService isms = ServiceHelper.Create <IStatisticsMoneyService>();
            StatisticsQuery         sm   = new StatisticsQuery()
            {
                beginTime = starttime,
                endTime   = endtime,
                type      = type
            };
            decimal addMoney    = isms.GetAddMoney(sm);
            decimal removeMoney = isms.GetRemoveMoney(sm);

            return(addMoney + "|" + removeMoney);
        }