public ActionResult ExportExcel(DateTime?beginTime, DateTime?endTime, decimal?denomination, string giftBatch, string giftCardNo) { GiftCardDetailService cs = new GiftCardDetailService(); var result = cs.ExportExcel(beginTime, endTime, denomination, giftBatch, giftCardNo); return(Json(result)); }
public ActionResult GetGiftCardsToDatagridByMemberId(string memberId, int page = 1, int rows = 10) { PageInfo pageinfo = new PageInfo() { Page = page, Rows = rows }; int totalcount = 0; var result = new GiftCardDetailService().GetGiftCardToDataGridByMemberId(memberId, out totalcount, pageinfo); return(Json(new { total = totalcount, rows = result })); }
public ActionResult GetAuditGiftCardsData(string giftBatch, string giftCardNo, DateTime?beginTime, DateTime?endTime, decimal?denomination, int page = 1, int rows = 30) { GiftCardDetailService cs = new GiftCardDetailService(); var pageInfo = new PageInfo() { Page = page, Rows = rows }; //var result = cs.GetCouponAll(out totalCount, pageInfo); var result = cs.GetGiftCardsByTime(giftBatch, giftCardNo, beginTime, endTime, denomination, out totalCount, pageInfo); return(new JsonNetResult(new { total = totalCount, rows = result })); }
public ActionResult VerificationGiftCardAllowUse(string giftCardSN, string giftCardSPwd) { var result = new GiftCardDetailService().VerificationGiftCardAllowUse(giftCardSN, giftCardSPwd); return(Json(result)); }