using System; using System.Collections.Generic; using System.Linq; using System.Web.Mvc; using DSWeb.Areas.CommMng.DAL; using DSWeb.Areas.TruckMng.DAL.MsWl_LKPC; using DSWeb.Areas.TruckMng.Models.MsWlDjPc; using DSWeb.Areas.TruckMng.Models.Comm; using DSWeb.Areas.TruckMng.Models.MsWlPc; using DSWeb.TruckMng.Comm.Cookie; using DSWeb.TruckMng.Helper; using DSWeb.TruckMng.Helper.Repository; using HcUtility.Comm; using HcUtility.Core; using InvokeWebService; using System.Text; using System.Net; using System.IO; using DSWeb.SoftMng.Filter; namespace DSWeb.Areas.TruckMng.Controllers { /// /// 崂矿派车界面 /// [JsonRequestBehavior] public class MsWl_LK_RPTController : Controller { // // GET: /TruckMng/MsWlDjPc/ public ActionResult Index() { return View(); } [SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器 public ContentResult GetPCDetailList ( int start, int limit, string sort, string condition ) { List list = MsWl_LKPCDAL.GetCargoRPTList(condition); var json = JsonConvert.Serialize(new { Success = true, Message = "查询成功", totalCount = list.Count, data = list.ToList() }); return new ContentResult() { Content = json }; } [SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器 public ContentResult GetCargoDoList ( int start, int limit, string sort, string condition ) { List list = MsWl_LKPCDAL.GetCargoDoRPTList(condition); var json = JsonConvert.Serialize(new { Success = true, Message = "查询成功", totalCount = list.Count, data = list.ToList() }); return new ContentResult() { Content = json }; } [SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器 public ContentResult GetCargoDoRPT_EXPDATE ( int start, int limit, string sort, string condition ) { List list = MsWl_LKPCDAL.GetCargoDoRPT_EXPDATE(condition); var json = JsonConvert.Serialize(new { Success = true, Message = "查询成功", totalCount = list.Count, data = list.ToList() }); return new ContentResult() { Content = json }; } [SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器 public ContentResult GetCargoDoRPT_POINT ( int start, int limit, string sort, string condition ) { List list = MsWl_LKPCDAL.GetCargoDoRPT_POINT(condition); var json = JsonConvert.Serialize(new { Success = true, Message = "查询成功", totalCount = list.Count, data = list.ToList() }); return new ContentResult() { Content = json }; } [SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器 public ContentResult GetCargoDoRPT_TRUCKNO ( int start, int limit, string sort, string condition ) { List list = MsWl_LKPCDAL.GetCargoDoRPT_TRUCKNO(condition); var json = JsonConvert.Serialize(new { Success = true, Message = "查询成功", totalCount = list.Count, data = list.ToList() }); return new ContentResult() { Content = json }; } [SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器 public ContentResult GetCargoDoRPT_DRVNAME ( int start, int limit, string sort, string condition ) { List list = MsWl_LKPCDAL.GetCargoDoRPT_DRVNAME(condition); var json = JsonConvert.Serialize(new { Success = true, Message = "查询成功", totalCount = list.Count, data = list.ToList() }); return new ContentResult() { Content = json }; } } }