Example #1
0
        public ActionResult HyczxflsReportApi(HyczxflsReport model)
        {
            int limit = base.PageSizeFromCookie;

            if (model.pageSize <= 0)
            {
                model.pageSize = limit;
            }
            Hashtable param = new Hashtable();

            param.Clear();
            param.Add("proname", "p_rep_hy_czxfls");
            //条件 @id_user|@id_shop_user|@beginrecode|@endrecode|@rq_begin|@rq_end|@id_shop|@phone|@name|@dh
            param.Add("str", string.Format("{0}|{1}|{2}|{3}|{4}|{5}|{6}|{7}|{8}|{9}",
                                           id_user,
                                           id_shop,
                                           model.beginIndex,
                                           model.endIndex,
                                           model.rq_begin.ToString("yyyy-MM-dd"),
                                           model.rq_end.ToString("yyyy-MM-dd"),
                                           model.id_shop ?? "",
                                           model.phone ?? "",
                                           model.name ?? "",
                                           model.dh ?? ""
                                           ));
            var res = BusinessFactory.Report.Get(param);

            return(JsonString(res.Data));
        }
Example #2
0
 /// <summary>
 /// 会员储值流水
 /// </summary>
 /// <returns></returns>
 public ActionResult HyczxflsReport(HyczxflsReport model)
 {
     ViewBag.DigitHashtable = GetParm();
     return(View());
 }