public JsonResult GetIssueNumFee(string cpcode, string issuenum = "", string type = "")
        {
            var result = LotteryOrderBusiness.GetIssueNumFee(cpcode, issuenum.Trim(), type);

            JsonDictionary.Add("PayFee", result);
            return(new JsonResult
            {
                Data = JsonDictionary,
                JsonRequestBehavior = JsonRequestBehavior.AllowGet
            });
        }
        public JsonResult GetTodyRopert(string cpcode = "cqssc", string issuenum = "")
        {
            var msg          = "网络延迟,请稍后再试";
            int totalCount   = 0;
            var bibett       = LotteryOrderBusiness.GetIssueNumFee(cpcode, issuenum.Trim(), "");
            var fee          = M_UsersBusiness.GetUserAccount(CurrentUser.UserID);
            var totalpayment = CommonBusiness.Select("AccountOperateRecord", "isnull(SUM(isnull(AccountChange,0)),0)", "PlayType in(4,5) and CreateTime>'" + DateTime.Now.ToString("yyyy-MM-dd") + " 00:00:00'");
            var userwin      = CommonBusiness.Select("AccountOperateRecord", "isnull(SUM(isnull(AccountChange,0)),0)", "PlayType =8 and CreateTime>'" + DateTime.Now.ToString("yyyy-MM-dd") + " 00:00:00'");

            JsonDictionary.Add("totalpayment", totalpayment);
            JsonDictionary.Add("totalwin", userwin);
            JsonDictionary.Add("yl", Convert.ToDecimal(userwin) - Convert.ToDecimal(totalpayment));
            JsonDictionary.Add("bettfee", bibett);
            JsonDictionary.Add("fee", fee);
            JsonDictionary.Add("Errmsg", msg);
            return(new JsonResult
            {
                Data = JsonDictionary,
                JsonRequestBehavior = JsonRequestBehavior.AllowGet
            });
        }