using System; using System.Linq; using System.Web.Mvc; using DSWeb.MvcShipping.DAL.MsOpSeaeEdiDAL; using DSWeb.MvcShipping.Models.MsOpSeaeEdi; using DSWeb.MvcShipping.Models.MsOpSeae; using DSWeb.MvcShipping.Helper; using DSWeb.MvcShipping.Comm.Cookie; using HcUtility.Comm; using HcUtility.Core; using System.Collections.Generic; using DSWeb.MvcShipping.DAL.MsBaseInfoDAL; using System.IO; using System.Web; using DSWeb.MvcShipping.DAL.MsOpSeaeEdiPortDAL; using DSWeb.EntityDA; using DSWeb.Areas.MvcShipping.DAL.Message.vgm; using DSWeb.MvcShipping.DAL.MsOpSeaeCustPrice; using DSWeb.MvcShipping.Models.MsOpSeaeCustPrice; namespace DSWeb.MvcShipping.Controllers { [JsonRequestBehavior] public class MsOpSeaeCustCZJLController : Controller { // // GET: public ActionResult Index() { return View(); } public ActionResult Edit() { return View(); } public ActionResult Map() { return View(); } public ActionResult CustomVGMIndex() { return View(); } public ActionResult CustomVGMEdit() { return View(); } public ContentResult GetDataList(int start, int limit, string sort, string condition) { int count = 0; var dataList = MsOpSeaeCustCZDAL.GetDataList(condition, Convert.ToString(Session["USERID"]), Convert.ToString(Session["SHOWNAME"]), Convert.ToString(Session["COMPANYID"]), start, limit, out count, sort); var json = JsonConvert.Serialize(new { Success = true, Message = "查询成功", totalCount = count, data = dataList.ToList() }); return new ContentResult() { Content = json }; } } }