using System; using System.Collections.Generic; using System.Data; using System.Linq; using System.Text; using System.Web; using System.Web.Mvc; using DSWeb.MvcShipping.Helper; using DSWeb.MvcShipping.Comm.Cookie; using DSWeb.Areas.CommMng.DAL; using DSWeb.Areas.RptMng.Comm; using HcUtility.Comm; using HcUtility.Core; using Microsoft.Practices.EnterpriseLibrary.Data; using DSWeb.EntityDA; using DSWeb.Areas.CommMng.Models; using DSWeb.MvcShipping.Models.MonthDataSet; using DSWeb.Areas.MvcShipping.DAL.MsRptCwBaoXiaoDAL; namespace DSWeb.MvcShipping.Controllers { /// /// 资金往来 /// [JsonRequestBehavior] public class MsRptCwBaoXiaoController : Controller { // // GET: /MvcShipping/MsRptOpProfit public ActionResult Index() { return View(); } // // GET:/RptMng/MsRptPcHeadQry/QryData public ContentResult ListData(string condition, string sort, string startdate, string account, string printstr) { var dataList = MsRptCwBaoXiaoDAL.ListData(condition, sort, startdate, account, Convert.ToString(Session["USERID"]), Convert.ToString(Session["SHOWNAME"]), Convert.ToString(Session["COMPANYID"])); var json = JsonConvert.Serialize( new { Success = true, Message = "查询成功", data = dataList.ToList() }); return new ContentResult() { Content = json }; } public ContentResult SumListData(string condition, string nocondition) { var dataList = MsRptCwBaoXiaoDAL.GetSumData(condition, nocondition); var json = JsonConvert.Serialize( new { Success = true, Message = "查询成功", data = dataList.ToList() }); return new ContentResult() { Content = json }; } #region 参照部分 #endregion } }