public ActionResult SaleList() { PageSetting setting = payBll.SelPage(CPage, PSize, mu.UserID); if (Request.IsAjaxRequest()) { return(PartialView("SaleList_List", setting)); } else { object allmoney, MoneyTrue; allmoney = setting.dt.Compute("Sum(MoneyPay)", ""); MoneyTrue = setting.dt.Compute("Sum(MoneyTrue)", ""); return(View(setting)); } }
public IActionResult PaymentList() { //[example] 前端字段排序 PageSetting setting = payBll.SelPage(CPage, PSize, new F_Payment() { uids = GetParam("uids"), uname = GetParam("uname"), orderno = GetParam("orderno"), payno = GetParam("payno"), orderType = GetParam("orderType"), status = DataConvert.CLng(GetParam("status"), -100), orderBy = GetParam("orderBy") }); if (Request.IsAjaxRequest()) { return(PartialView("Payment_List", setting)); } else { return(View(setting)); } }
public DataTable SelByWhere() { DataTable dt = bll.SelPage(1, 50000, UserID, -1, DataConverter.CDouble(MinMoney_T.Text), DataConverter.CDouble(MaxMoney_T.Text), Search_Drop.SelectedValue, Search_T.Text, Status, Remark).dt; return(dt); }