예제 #1
0
        /// <summary>
        /// 得到店铺汇总信息(包含今日)
        /// <para>
        /// 此方便包含今日数据,如果为了快速显示请使用  GetAccountSummarize
        /// </para>
        /// </summary>
        /// <param name="accid"></param>
        /// <returns></returns>
        public static T_AccountSummarize.Summarize GetAccountAllSummarize(int accid)
        {
            T_AccountSummarize.Summarize summarize = SysRpt_ShopInfoBLL.GetAccountSummarize(accid);

            T_AccountSummarize.TodaySummarize todaySummarize = GetAccountTodaySummarize(accid);

            summarize.saleNum      = summarize.saleNum + todaySummarize.saleNum;
            summarize.saleMoney    = summarize.saleMoney + todaySummarize.saleMoney;
            summarize.userNum      = summarize.userNum + todaySummarize.userNum;
            summarize.goodsNum     = summarize.goodsNum + todaySummarize.goodsNum;
            summarize.orderNum     = summarize.orderNum + todaySummarize.orderNum;
            summarize.orderMoney   = summarize.orderMoney + todaySummarize.orderMoney;
            summarize.smsNum       = summarize.smsNum + todaySummarize.smsNum;
            summarize.outlayNum    = summarize.outlayNum + todaySummarize.outlayNum;
            summarize.outlayMoney  = summarize.outlayMoney + todaySummarize.outlayMoney;
            summarize.couponNum    = summarize.couponNum;
            summarize.useCouponNum = summarize.useCouponNum;

            return(summarize);
        }
예제 #2
0
 /// <summary>
 /// 得到店铺汇总信息(不含今日)
 /// <para>此方法为了快速显示,如果需要完成统计请使用  GetAccountAllSummarize </para>
 /// </summary>
 /// <param name="accid"></param>
 /// <returns></returns>
 public static T_AccountSummarize.Summarize GetAccountSummarize(int accid)
 {
     return(SysRpt_ShopInfoBLL.GetAccountSummarize(accid));
 }