using System; using System.Collections.Generic; using System.Data; using System.Linq; using System.Text; using System.Web; using System.Web.Mvc; using DSWeb.Areas.CommMng.DAL; using DSWeb.Areas.TruckMng.DAL; using DSWeb.MvcShipping.DAL.WMS; using DSWeb.MvcShipping.Models.WMS; using DSWeb.TruckMng.Helper; using HcUtility.Comm; using HcUtility.Core; using DSWeb.Areas.CommMng.Models; using Microsoft.Practices.EnterpriseLibrary.Data; using DSWeb.TruckMng.Comm.Cookie; using DSWeb.EntityDA; using DSWeb.TruckMng.Helper.Repository; using DSWeb.MvcShipping.DAL.MsSysBillNoSet; using DSWeb.MvcShipping.DAL.MsBaseInfoDAL; namespace DSWeb.MvcShipping.Controllers { /// /// 路单查询 /// [JsonRequestBehavior] public class WMSImportDetailController : Controller { // // GET: /RptMng/MsRptPcHeadQry public ActionResult Index() { return View(); } public ContentResult GetDataList_Import(int start, int limit, string sort, string condition) { var dataList = WMSDAL.GetDetailList_Import(condition, sort); var list = dataList.Skip(start).Take(limit); var json = JsonConvert.Serialize(new { Success = true, Message = "查询成功", totalCount = dataList.Count, data = list.ToList() }); return new ContentResult() { Content = json }; } #region 参照部分 #endregion } }