hanxuntao 7 months ago
parent 5526539621
commit fb937a158a

@ -24,7 +24,7 @@ namespace DSWeb.Areas.RptMng.Controllers
//
// GET/RptMng/Demo/GetDataList
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult QryData(int start, int limit, string condition)
{
var dbparams = new List<CustomDbParamter>();

@ -25,7 +25,7 @@ namespace DSWeb.Areas.RptMng.Controllers
{
return View();
}
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetDataList(int start, int limit, string sort, string condition)
{
var dataList = GetDataList(condition,sort);
@ -35,7 +35,7 @@ namespace DSWeb.Areas.RptMng.Controllers
var json = JsonConvert.Serialize(new { Success = true, Message = "查询成功", totalCount = dataList.Count, data = list.ToList() });
return new ContentResult() { Content = json };
}
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
private static List<MsRptBulkTrans> GetDataList(string strCondition,string sort=null)
{
var strSql = new StringBuilder();

@ -25,7 +25,7 @@ namespace DSWeb.Areas.RptMng.Controllers
{
return View();
}
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetDataList(int start, int limit, string sort, string condition)
{
var dataList = GetDataList(condition,sort);
@ -35,7 +35,7 @@ namespace DSWeb.Areas.RptMng.Controllers
var json = JsonConvert.Serialize(new { Success = true, Message = "查询成功", totalCount = dataList.Count, data = list.ToList() });
return new ContentResult() { Content = json };
}
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
private static List<MsRptBulkTrans> GetDataList(string strCondition,string sort=null)
{
var strSql = new StringBuilder();

@ -29,7 +29,7 @@ namespace DSWeb.Areas.RptMng.Controllers
//
// GET/RptMng/MsRptDriverCheck/QryData
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult QryData(int start, int limit, string condition, string sort)
{

@ -29,7 +29,7 @@ namespace DSWeb.Areas.RptMng.Controllers
//
// GET/RptMng/MsRptFuelQry/QryData
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult QryData(int start, int limit, string condition,string sort)
{

@ -29,7 +29,7 @@ namespace DSWeb.Areas.RptMng.Controllers
//
// GET/RptMng/MsRptInsure/QryData
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult QryData(int start, int limit, string condition,string sort)
{

@ -26,7 +26,7 @@ namespace DSWeb.Areas.RptMng.Controllers
//
// GET/RptMng/MsRptKfWxQry/QryData
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult QryData(int start, int limit, string condition)
{
var dbparams = new List<CustomDbParamter>();

@ -34,6 +34,7 @@ namespace DSWeb.Areas.RptMng.Controllers
// GET/RptMng/MsRptPcHeadQry/QryData
//只显示含在托单下面的路单
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult QryData(int start, int limit, string condition,string sort)
{
@ -163,6 +164,7 @@ namespace DSWeb.Areas.RptMng.Controllers
}
//也显示无所属托单的路单
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult QryData_ADL( int start, int limit, string condition, string sort )
{
var strDa = GetRangDAStr("index", Convert.ToString(Session["USERID"]), CookieConfig.GetCookie_UserCode(Request), CookieConfig.GetCookie_OrgCode(Request));

@ -29,7 +29,7 @@ namespace DSWeb.Areas.RptMng.Controllers
//
// GET/RptMng/MsRptTruckCheck/QryData
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult QryData(int start, int limit, string condition, string sort)
{
var strDa = GetRangDAStr("index", Convert.ToString(Session["USERID"]), CookieConfig.GetCookie_UserCode(Request), CookieConfig.GetCookie_OrgCode(Request));

@ -24,7 +24,7 @@ namespace DSWeb.Areas.RptMng.Controllers
{
return View();
}
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetDataList(int start, int limit, string sort, string condition)
{
var dataList = GetDataList(condition);
@ -34,7 +34,7 @@ namespace DSWeb.Areas.RptMng.Controllers
var json = JsonConvert.Serialize(new { Success = true, Message = "查询成功", totalCount = dataList.Count, data = list.ToList() });
return new ContentResult() { Content = json };
}
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
private static List<MsRptWlTrans> GetDataList(string strCondition)
{
var strSql = new StringBuilder();

@ -29,7 +29,7 @@ namespace DSWeb.Areas.RptMng.Controllers
//
// GET/RptMng/MsRptWlTyreQry/QryData
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult QryData(int start, int limit, string condition,string sort)
{

@ -29,7 +29,7 @@ namespace DSWeb.Areas.RptMng.Controllers
//
// GET/RptMng/MsRptWxQry/QryData
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult QryData(int start, int limit, string condition,string sort)
{

@ -29,6 +29,11 @@ namespace DSWeb.SoftMng.Controllers
var path = Server.MapPath(relativepath);//获取物理路径(按年月创建文件夹分类)
if (!Directory.Exists(path)) Directory.CreateDirectory(path);
var extension = Path.GetExtension(uploadFile.FileName);
if (extension == ".asp" || extension == ".aspx")
{
return Json(new { success = false });
}
var filepath = "\\" + DateTime.Now.ToString("yyyyMMddHHmmssfff") + "_" + new Random().Next(100, 999) + extension;//随机生成文件名
path += filepath;
if (System.IO.File.Exists(path)) System.IO.File.Delete(path);

@ -30,6 +30,7 @@ namespace DSWeb.SoftMng.Controllers
}
#region 主列表查询
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetDataList(int start, int limit, string sort, string condition)
{
var dataList = MsInfoClientFeedbackDAL.GetDataList(condition, Convert.ToString(Session["USERID"]).ToString().Trim(), Convert.ToString(Session["SHOWNAME"]).ToString().Trim(), Convert.ToString(Session["COMPANYID"]).ToString().Trim(), sort);
@ -37,7 +38,7 @@ namespace DSWeb.SoftMng.Controllers
var json = JsonConvert.Serialize(new { Success = true, Message = "查询成功", totalCount = dataList.Count, data = list.ToList() });
return new ContentResult() { Content = json };
}
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetData(string condition)
{
VW_Feedback_InfoEntity head = null;
@ -249,6 +250,7 @@ namespace DSWeb.SoftMng.Controllers
#endregion
#region 明细表查询
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetFeedbackInfoList(int start, int limit, string sort, string condition)
{
var dataList = MsInfoClientFeedbackDAL.GetFeedbackInfoList(condition, Convert.ToString(Session["USERID"]).ToString().Trim(), Convert.ToString(Session["SHOWNAME"]).ToString().Trim(), Convert.ToString(Session["COMPANYID"]).ToString().Trim(), sort);

@ -42,7 +42,7 @@ namespace DSWeb.SoftMng.Controllers
//
// GET
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetDataList(int start, int limit, string sort, string condition)
{
if (Session["FilterProjectId"] != null && !string.IsNullOrWhiteSpace(Session["FilterProjectId"].ToString()))
@ -59,7 +59,7 @@ namespace DSWeb.SoftMng.Controllers
var json = JsonConvert.Serialize(new { Success = true, Message = "查询成功", totalCount = dataList.Count, data = list.ToList() });
return new ContentResult() { Content = json };
}
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetDataListStr(string sort, string condition)
{
var dataListStr = MsSoftRequireDAL.GetDataListStr(condition, sort);
@ -69,7 +69,7 @@ namespace DSWeb.SoftMng.Controllers
//
// GET/TruckMng/MsWlTyreAcc/GetData/
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetData(string handle, string condition)
{
SoftRequire head = null;

@ -39,7 +39,7 @@ namespace DSWeb.SoftMng.Controllers
//
// GET
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetDataList(int start, int limit, string sort, string condition)
{
var dataList = MsSoftSysTableDAL.GetDataList(condition, sort);
@ -51,7 +51,7 @@ namespace DSWeb.SoftMng.Controllers
//
// GET/TruckMng/MsWlTyreAcc/GetData/
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetData(string handle, string condition)
{
sys_table head = null;

@ -46,7 +46,7 @@ namespace DSWeb.SoftMng.Controllers
//
// GET
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetDataList(int start, int limit, string sort, string condition)
{
var dataList = MsSoftUpGradeDAL.GetDataList(condition, sort);
@ -54,7 +54,7 @@ namespace DSWeb.SoftMng.Controllers
var json = JsonConvert.Serialize(new { Success = true, Message = "查询成功", totalCount = dataList.Count, data = list.ToList() });
return new ContentResult() { Content = json };
}
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetUpDateLogList(int start, int limit, string sort, string condition)
{
var dataList = MsSoftUpGradeDAL.GetUpDateLogList(condition, sort);
@ -66,7 +66,7 @@ namespace DSWeb.SoftMng.Controllers
//
// GET/TruckMng/MsWlTyreAcc/GetData/
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetData(string handle, string condition)
{
sys_update_sql head = null;

@ -30,7 +30,7 @@ namespace DSWeb.Areas.SysMng.Controllers
{
return View();
}
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetDataList(int start, int limit, string sort, string condition)
{
@ -50,7 +50,7 @@ namespace DSWeb.Areas.SysMng.Controllers
});
return new ContentResult() { Content = json };
}
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetData(string handle, string condition)
{
Dictionary<string,string> head = new Dictionary<string,string>();
@ -167,7 +167,7 @@ namespace DSWeb.Areas.SysMng.Controllers
return new ContentResult() { Content = JsonConvert.Serialize(jsonRespose) };
}
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetBodyList(int start, int limit, string sort, string condition)
{
var dataList = DBTableConnDAL.GetBodyList(condition, sort);

@ -38,7 +38,7 @@ namespace DSWeb.Areas.SysMng.Controllers
//
// GET/TruckMng/Enum/GetDataList
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetDataList(int start, int limit, string sort, string condition)
{
var dataList = EnumDAL.GetDataList(condition);
@ -51,7 +51,7 @@ namespace DSWeb.Areas.SysMng.Controllers
//
// GET/TruckMng/Enum/GetData/
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetData(string handle, string condition)
{
SysEnumType headData = null;
@ -123,7 +123,7 @@ namespace DSWeb.Areas.SysMng.Controllers
var jsonRespose = new JsonResponse { Success = result.Success, Message = result.Message };
return new ContentResult() { Content = JsonConvert.Serialize(jsonRespose) };
}
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetBodyList(string billno)
{
var condition = " EnumTypeID=" + billno;

@ -36,7 +36,7 @@ namespace DSWeb.Areas.SysMng.Controllers
{
return View();
}
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetTaskState(int start, int limit, string sort, string condition)
{
var dataList = SysTaskDAL.GetTaskState(condition);
@ -66,6 +66,7 @@ namespace DSWeb.Areas.SysMng.Controllers
var json = JsonConvert.Serialize(new { Success = true, Message = "查询成功", totalCount = dataList.Count, data = list.ToList() });
return new ContentResult() { Content = json };
}
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetTaskExecution(int start, int limit, string sort, string condition)
{
var dataList = SysTaskDAL.GetTaskExecution(condition);
@ -75,6 +76,7 @@ namespace DSWeb.Areas.SysMng.Controllers
var json = JsonConvert.Serialize(new { Success = true, Message = "查询成功", totalCount = dataList.Count, data = list.ToList() });
return new ContentResult() { Content = json };
}
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetTaskProgressIndex(int start, int limit, string sort, string condition)
{
var dataList = SysTaskDAL.GetTaskProgressIndex(condition);

@ -49,6 +49,7 @@ namespace DSWeb.Areas.SysMng.Controllers
var json = JsonConvert.Serialize(new { Success = true, Message = "查询成功", totalCount = dataList.Count, data = dataList.ToList() });
return new ContentResult() { Content = json };
}
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetDataList(int start, int limit, string sort, string condition)
{
@ -66,7 +67,7 @@ namespace DSWeb.Areas.SysMng.Controllers
var json = JsonConvert.Serialize(new { Success = true, Message = "查询成功", totalCount = dataList.Count, data = list.ToList() });
return new ContentResult() { Content = json };
}*/
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetData(string handle, string condition)
{
SysUserMC head = new SysUserMC();

@ -45,7 +45,7 @@ namespace DSWeb.Areas.SysMng.Controllers
//
// GET/TruckMng/Enum/GetDataList
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetDataList(int start, int limit, string sort, string condition)
{

@ -23,6 +23,7 @@ namespace DSWeb.Areas.CommMng.Controllers
{
#region 良通捷运 目的地列表
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public JsonResult GetDetiNation_LTJY(string condition)
{
var evList = TruckBasicDataRefDAL.GetDetiNation_LTJY(condition, Convert.ToString(Session["USERID"]));
@ -38,6 +39,7 @@ namespace DSWeb.Areas.CommMng.Controllers
#endregion
#region 将带逗号的内容拆成单个,并将出现频率最高的放置在最前。参数为(表名 列名 查询条件)
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public JsonResult GetCommaWord(string tablename ,string columnname, string condition)
{
var evList = TruckBasicDataRefDAL.GetCommaWord(tablename, columnname,condition, Convert.ToString(Session["USERID"]));

@ -33,7 +33,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
return View();
}
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetDataList(int start, int limit, string sort, string condition)
{
var dataList = GetDataList(condition,sort);
@ -44,7 +44,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
return new ContentResult() { Content = json };
}
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
private static List<CityDistancemb> GetDataList(string strCondition, string sort)
{
var strSql = new StringBuilder();

@ -40,6 +40,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
//
// GET/TruckMng/KfCg/GetDataList
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public JsonResult GetDataList(int start, int limit, string sort, string condition)
{
@ -52,7 +53,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
//
// GET/TruckMng/KfCg/GetData/
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public JsonResult GetData(string handle, string condition)
{
KfCgHead headData = null;

@ -33,7 +33,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
return View();
}
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetDataList(int start, int limit, string sort, string condition)
{
var dataList = GetDataList(condition,sort);
@ -43,7 +43,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
var json = JsonConvert.Serialize(new { Success = true, Message = "查询成功", totalCount = dataList.Count, data = list.ToList() });
return new ContentResult() { Content = json };
}
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
private static List<PC_LTJY_Distancemb> GetDataList(string strCondition, string sort)
{
var strSql = new StringBuilder();

@ -16,7 +16,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
{
//
// GET: /TruckMng/MsChFee/GetDataList
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetDataList(string billno)
{
string userid = Session["USERID"] == null ? "" : Session["USERID"].ToString();
@ -25,7 +25,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
var json = JsonConvert.Serialize(new { Success = true, Message = "查询成功", totalCount = dataList.Count, data = dataList.ToList() });
return new ContentResult() { Content = json };
}
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetDataList_bycondition(string condition)
{
string userid = Session["USERID"] == null ? "" : Session["USERID"].ToString();
@ -34,7 +34,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
var json = JsonConvert.Serialize(new { Success = true, Message = "查询成功", totalCount = dataList.Count, data = dataList.ToList() });
return new ContentResult() { Content = json };
}
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetAuditDataList(string billno)
{
string userid = Session["USERID"] == null ? "" : Session["USERID"].ToString();
@ -43,7 +43,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
var json = JsonConvert.Serialize(new { Success = true, Message = "查询成功", totalCount = dataList.Count, data = dataList.ToList() });
return new ContentResult() { Content = json };
}
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetAuditDataList_ALL(string billno)
{
string userid = Session["USERID"] == null ? "" : Session["USERID"].ToString();

@ -31,7 +31,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
//
// GET
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetDataList(string condition,string sort)
{
var dataList = MsCodeTruckPortDAL.GetDataList(condition, Convert.ToString(Session["COMPANYID"]), sort);
@ -39,7 +39,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
var json = JsonConvert.Serialize(new { Success = true, Message = "查询成功", totalCount = dataList.Count, data = dataList.ToList() });
return new ContentResult() { Content = json };
}
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetDataListRm(string CODENAME="",string condition="")
{
if (CODENAME == "")
@ -62,7 +62,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
//
// GET/TruckMng/MsWlTyreAcc/GetData/
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetData(string handle, string condition)
{
CodeTruckPort head = null;

@ -36,7 +36,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
//
// GET
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetDataList(int start, int limit, string sort, string condition)
{
var dataList = MsCustTruckConsigneeDAL.GetDataList(condition, Convert.ToString(Session["USERID"]), CookieConfig.GetCookie_UserCode(Request), Convert.ToString(Session["COMPANYID"]), sort);
@ -44,7 +44,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
var json = JsonConvert.Serialize(new { Success = true, Message = "查询成功", totalCount = dataList.Count, data = dataList.ToList() });
return new ContentResult() { Content = json };
}
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetDataListRm(string CODENAME = "", string condition = "")
{
if (CODENAME == "")
@ -67,7 +67,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
//
// GET/TruckMng/MsWlTyreAcc/GetData/
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetData(string handle, string condition)
{
CodeTruckConsignee head = null;
@ -125,7 +125,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
var jsonRespose = new JsonResponse { Success = result.Success, Message = result.Message };
return new ContentResult() { Content = JsonConvert.Serialize(jsonRespose) };
}
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetTruckList(string condition, string CODENAME = "")
{
if (CODENAME == "")

@ -41,7 +41,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
//
// GET
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetDataList(int start, int limit, string sort, string condition)
{
var dataList = MsCustTruckFeeTempldateDAL.GetDataList(condition, Convert.ToString(Session["USERID"]), CookieConfig.GetCookie_UserCode(Request), Convert.ToString(Session["COMPANYID"]), sort);
@ -49,7 +49,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
var json = JsonConvert.Serialize(new { Success = true, Message = "查询成功", totalCount = dataList.Count, data = dataList.ToList() });
return new ContentResult() { Content = json };
}
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetAuditDataList(int start, int limit, string sort, string condition, string isaudit)
{
var dataList = MsCustTruckFeeTempldateDAL.GetAuditDataList(condition, isaudit, Convert.ToString(Session["USERID"]), Convert.ToString(Session["SHOWNAME"]), Convert.ToString(Session["COMPANYID"]), sort);
@ -60,7 +60,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
//
// GET/TruckMng/MsWlTyreAcc/GetData/
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetData(string handle, string condition)
{
CustTruckFeeTemplate head = null;
@ -85,7 +85,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
return new ContentResult() { Content = json };
}
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetBodyList(int start, int limit, string sort, string condition)
{
var dataList = MsCustTruckFeeTempldateDAL.GetBodyList(condition, sort);

@ -29,7 +29,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
//
// GET/TruckMng/MsJhSparepart/GetDataList
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetDataList(int start, int limit, string sort, string condition)
{
var dataList = MsJhSparepartDAL.GetDataList(condition);
@ -42,7 +42,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
//
// GET/TruckMng/MsJhSparepart/GetData/
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetData(string handle, string condition)
{
MsJhSparepart head = null;

@ -29,7 +29,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
//
// GET/TruckMng/MsKfBzWx/GetDataList
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetDataList(int start, int limit, string sort, string condition)
{
var dataList = MsKfBzWxDAL.GetDataList(condition);
@ -42,7 +42,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
//
// GET/TruckMng/MsKfBzWx/GetData/
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetData(string handle, string condition)
{
MsKfBzWx head = null;

@ -87,7 +87,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
//
// GET/TruckMng/MsKfJh/GetDataList
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetDataList(int start, int limit, string sort, string condition)
{
string contmp = null;
@ -110,7 +110,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
//
// GET/TruckMng/MsKfJh/GetDataListTyre
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetDataListTyre(int start, int limit, string sort, string condition)
{
string contmp = null;
@ -133,7 +133,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
//
// GET/TruckMng/MsKfJh/GetDataListTyre
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetDataListTyreGd(int start, int limit, string sort, string condition)
{
string contmp = null;
@ -156,7 +156,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
//
// GET/TruckMng/MsKfJh/GetData/
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetDataTyre(string handle, string condition)
{
MsKfJhHead headData = null;
@ -183,7 +183,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
//
// GET/TruckMng/MsKfJh/GetData/
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetDataTyreGd(string handle, string condition)
{
MsKfJhHead headData = null;
@ -210,7 +210,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
//
// GET/TruckMng/MsKfJh/GetData/
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetData(string handle, string condition)
{
MsKfJhHead headData = null;
@ -302,7 +302,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
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 GetBodyInfoList(string condition)
{
List<MsKfJhBody> list = MsKfJhDAL.GetBodyList(condition);

@ -71,7 +71,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
//
// GET/TruckMng/MsKfLy/GetDataList
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetDataList(int start, int limit, string sort, string condition)
{
string contmp = null;
@ -93,7 +93,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
//
// GET/TruckMng/MsKfLy/GetDataListTyre
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetDataListTyre(int start, int limit, string sort, string condition)
{
string contmp = null;
@ -115,7 +115,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
//
// GET/TruckMng/MsKfLy/GetDataTyre/
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetDataTyre(string handle, string condition)
{
MsKfLyHead headData = null;
@ -142,7 +142,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
//
// GET/TruckMng/MsKfLy/GetData/
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetData(string handle, string condition)
{
MsKfLyHead headData = null;

@ -39,7 +39,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
//
// GET/TruckMng/MsKfWx/GetDataList
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetDataList(int start, int limit, string sort, string condition)
{
var dataList = MsKfWxDAL.GetDataList(condition, Convert.ToString(Session["USERID"]), CookieConfig.GetCookie_UserCode(Request), CookieConfig.GetCookie_OrgCode(Request),sort);
@ -52,7 +52,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
//
// GET/TruckMng/MsKfWx/GetData/
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetData(string handle, string condition)
{
MsKfWxHead headData = null;

@ -30,7 +30,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
//
// GET/TruckMng/MsLsKc/GetDataList
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetDataList(int start, int limit, string sort, string condition)
{
var dataList = MsLsKcDAL.GetDataList(condition, Convert.ToString(Session["USERID"]), CookieConfig.GetCookie_UserCode(Request), CookieConfig.GetCookie_OrgCode(Request),sort);
@ -43,7 +43,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
//
// GET/TruckMng/MsLsKc/GetData/
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetData(string handle, string condition)
{
MsLsKc head = null;

@ -28,7 +28,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
//
// GET/TruckMng/MsLsKcPc/GetDataList
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetDataList(int start, int limit, string sort, string condition)
{
var dataList = MsLsKcPcDAL.GetDataList(condition);
@ -41,7 +41,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
//
// GET/TruckMng/MsLsKcPc/GetData/
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetData(string handle, string condition)
{
MsLsKcPc head = null;

@ -31,7 +31,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
//
// GET/TruckMng/MsLsPluAcc/GetDataList
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetDataList(int start, int limit, string sort, string condition)
{
var dataList = MsLsPluAccDAL.GetDataList(condition, Convert.ToString(Session["USERID"]), CookieConfig.GetCookie_UserCode(Request), CookieConfig.GetCookie_OrgCode(Request),sort);
@ -44,7 +44,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
//
// GET/TruckMng/MsLsPluAcc/GetData/
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetData(string handle, string condition)
{
MsLsPluAcc head = null;

@ -29,7 +29,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
//
// GET/TruckMng/MsMlieage/GetDataList
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetDataList(int start, int limit, string sort, string condition)
{
var dataList = MsMlieageDAL.GetDataList(condition);
@ -42,7 +42,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
//
// GET/TruckMng/MsMlieage/GetData/
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetData(string handle, string condition)
{
MsMlieage head = null;
@ -64,7 +64,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
return new ContentResult() { Content = json };
}
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetDataSum(string handle, string condition)
{
MsMlieageSum head = null;

@ -86,7 +86,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
{
return View();
}
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetDataList(int start, int limit, string sort, string condition)
{
var dataList = MsOpTruckBulkDAL.GetDataList(start, limit,condition, Convert.ToString(Session["USERID"]), Convert.ToString(Session["SHOWNAME"]), Convert.ToString(Session["COMPANYID"]), sort);
@ -95,7 +95,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
return new ContentResult() { Content = json };
}
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetAuditDataList(int start, int limit, string sort, string condition,string isaudit)
{
var dataList = MsOpTruckBulkDAL.GetAuditDataList(condition, isaudit,Convert.ToString(Session["USERID"]), Convert.ToString(Session["SHOWNAME"]), Convert.ToString(Session["COMPANYID"]), sort);
@ -103,7 +103,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
var json = JsonConvert.Serialize(new { Success = true, Message = "查询成功", totalCount = dataList.Count, data = list.ToList() });
return new ContentResult() { Content = json };
}
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetAmendDataList(int start, int limit, string sort, string condition)
{
var dataList = MsOpTruckBulkDAL.GetAmendDataList(condition, Convert.ToString(Session["USERID"]), Convert.ToString(Session["SHOWNAME"]), Convert.ToString(Session["COMPANYID"]), sort);
@ -111,7 +111,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
var json = JsonConvert.Serialize(new { Success = true, Message = "查询成功", totalCount = dataList.Count, data = list.ToList() });
return new ContentResult() { Content = json };
}
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetDataListStr(string sort, string condition)
{
var dataListStr = MsOpTruckBulkDAL.GetDataListStr(condition, Convert.ToString(Session["USERID"]), Convert.ToString(Session["SHOWNAME"]), Convert.ToString(Session["COMPANYID"]), sort);
@ -119,7 +119,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
return new ContentResult() { Content = json };
}
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetBodyList(int start, int limit, string sort, string condition)
{
var dataList = MsOpTruckBulkDAL.GetBodyList(condition, sort);
@ -128,7 +128,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
var json = JsonConvert.Serialize(new { Success = true, Message = "查询成功", totalCount = dataList.Count, data = dataList.ToList() });
return new ContentResult() { Content = json };
}
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetData(string handle, string condition)
{
MsOpTruckBulk head = null;
@ -155,7 +155,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
new { Success = true, Message = "查询成功", data = head });
return new ContentResult() { Content = json };
}
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetAmendData(string condition)
{
MsOpTruckBulk head = null;
@ -1346,7 +1346,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
return new ContentResult() { Content = JsonConvert.Serialize(jsonRespose) };
}
}
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult RptLRData(int start, int limit, string condition,string sort, string printstr, string sortstr)
{
var strDa = MsOpTruckBulkDAL.GetRpRangDAStr("index", Convert.ToString(Session["USERID"]), Convert.ToString(Session["SHOWNAME"]), Convert.ToString(Session["COMPANYID"]));
@ -1445,7 +1445,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
}
}
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult RptSumLRData(int start, int limit, string condition, string sort, string printstr, string sortstr)
{
var strDa = MsOpTruckBulkDAL.GetRpRangDAStr("index", Convert.ToString(Session["USERID"]), Convert.ToString(Session["SHOWNAME"]), Convert.ToString(Session["COMPANYID"]));
@ -1544,7 +1544,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
return new ContentResult() { Content = json };
}
}
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult RptCtnLRData(int start, int limit, string condition, string sort, string printstr, string sortstr)
{
var strDa = MsOpTruckBulkDAL.GetRpRangDAStr("index", Convert.ToString(Session["USERID"]), Convert.ToString(Session["SHOWNAME"]), Convert.ToString(Session["COMPANYID"]));
@ -1646,7 +1646,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
}
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult RptCtnSumLRData(int start, int limit, string condition, string sort, string printstr, string sortstr)
{
var strDa = MsOpTruckBulkDAL.GetRpRangDAStr("index", Convert.ToString(Session["USERID"]), Convert.ToString(Session["SHOWNAME"]), Convert.ToString(Session["COMPANYID"]));

@ -64,7 +64,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
{
return View();
}
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetDataList(int start, int limit, string sort, string condition)
{
var dataList = MsOpTruckBulkPcDAL.GetDataList(start, limit, condition, Convert.ToString(Session["USERID"]), Convert.ToString(Session["SHOWNAME"]), Convert.ToString(Session["COMPANYID"]), sort);
@ -72,7 +72,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
var json = JsonConvert.Serialize(new { Success = true, Message = "查询成功", totalCount = count, data = dataList.ToList() });
return new ContentResult() { Content = json };
}
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetAuditDataList(int start, int limit, string sort, string condition, string isaudit)
{
var dataList = MsOpTruckBulkPcDAL.GetAuditDataList(condition, isaudit, Convert.ToString(Session["USERID"]), Convert.ToString(Session["SHOWNAME"]), Convert.ToString(Session["COMPANYID"]), sort);
@ -80,7 +80,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
var json = JsonConvert.Serialize(new { Success = true, Message = "查询成功", totalCount = dataList.Count, data = list.ToList() });
return new ContentResult() { Content = json };
}
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetDataListStr(string sort, string condition)
{
var dataListStr = MsOpTruckBulkPcDAL.GetDataListStr(condition, Convert.ToString(Session["USERID"]), Convert.ToString(Session["SHOWNAME"]), Convert.ToString(Session["COMPANYID"]), sort);
@ -88,7 +88,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
return new ContentResult() { Content = json };
}
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetBodyList(int start, int limit, string sort, string condition)
{
var dataList = MsOpTruckBulkPcDAL.GetBodyList(condition, sort);
@ -97,7 +97,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
var json = JsonConvert.Serialize(new { Success = true, Message = "查询成功", totalCount = dataList.Count, data = dataList.ToList() });
return new ContentResult() { Content = json };
}
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetData(string handle, string condition)
{
MsOpTruckBulkPc head = null;

@ -38,7 +38,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
return View();
}
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetDataList ( int start, int limit, string sort, string condition )
{
var dataList = MsRptPcHeadEditDAL.GetDataList(condition,CookieConfig.GetCookie_UserId(Request), CookieConfig.GetCookie_UserCode(Request), CookieConfig.GetCookie_UserName(Request), CookieConfig.GetCookie_CompanyId(Request), sort);
@ -122,7 +122,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
return new ContentResult() { Content = JsonConvert.Serialize(jsonRespose) };
}
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetMuDiDi ( int start, int limit, string sort, string condition )
{
var dataList = MsRptPcHeadEditDAL.GetMuDiDi(condition, sort);
@ -132,7 +132,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
var json = JsonConvert.Serialize(new { Success = true, Message = "查询成功", totalCount = dataList.Count, data = list.ToList() });
return new ContentResult() { Content = json };
}
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetShifadi ( int start, int limit, string sort, string condition )
{
var dataList = MsRptPcHeadEditDAL.GetShiFaDi(condition, sort);

@ -35,6 +35,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
// GET/RptMng/MsRptPcHeadQry/QryData
//显示无所属托单的路单 用于烟台爱德林项目
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult QryData_ADL ( int start, int limit, string condition, string sort )
{
var strDa = GetRangDAStr("index", Convert.ToString(Session["USERID"]), CookieConfig.GetCookie_UserCode(Request), CookieConfig.GetCookie_OrgCode(Request));

@ -33,7 +33,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
//
// GET/RptMng/MsRptPcHeadQry/QryData
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult QryData(int start, int limit, string condition,string sort)
{

@ -30,7 +30,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
//
// GET/TruckMng/MsTruckPlu/GetDataList
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetDataList(int start, int limit, string sort, string condition)
{
var dataList = MsTruckPluDAL.GetDataList(condition,sort);
@ -43,7 +43,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
//
// GET/TruckMng/MsTruckPlu/GetData/
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetData(string handle, string condition)
{
MsTruckPlu head = null;

@ -23,7 +23,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
{
return View();
}
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetDataList(int start, int limit, string sort, string condition)
{
var dataList = MsWlBsAuditDAL.GetDataList(condition, Convert.ToString(Session["USERID"]), CookieConfig.GetCookie_UserCode(Request), CookieConfig.GetCookie_OrgCode(Request),sort);

@ -59,7 +59,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
//
// GET/TruckMng/WlTruck/GetDataList
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetDataList(int start, int limit, string sort, string condition)
{
var dataList = MsWlBsDAL.GetDataList(condition, Convert.ToString(Session["USERID"]), CookieConfig.GetCookie_UserCode(Request), CookieConfig.GetCookie_OrgCode(Request),sort);
@ -69,7 +69,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
var json = JsonConvert.Serialize(new { Success = true, Message = "查询成功", totalCount = dataList.Count, data = list.ToList() });
return new ContentResult() { Content = json };
}
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetAuditDataList(int start, int limit, string sort, string condition, string isaudit)
{
var dataList = MsWlBsDAL.GetAuditDataList(condition, isaudit, Convert.ToString(Session["USERID"]), CookieConfig.GetCookie_UserCode(Request), CookieConfig.GetCookie_OrgCode(Request), sort);
@ -79,7 +79,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
var json = JsonConvert.Serialize(new { Success = true, Message = "查询成功", totalCount = dataList.Count, data = list.ToList() });
return new ContentResult() { Content = json };
}
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetListSum(string condition)
{
var rangstr = MsWlPcDAL.GetRangDAStr("index", Convert.ToString(Session["USERID"]), CookieConfig.GetCookie_UserCode(Request), CookieConfig.GetCookie_OrgCode(Request));
@ -124,7 +124,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
//
// GET/TruckMng/WlBsCard/GetData/
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetData(string handle, string condition)
{
MsWlBsHead head = null;
@ -289,6 +289,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
}
#region 明细表部分
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public JsonResult GetCtnBodyList(string billno)
{
var condition = " BillNo='" + billno + "'";
@ -296,14 +297,14 @@ namespace DSWeb.Areas.TruckMng.Controllers
return Json(new { Success = true, Message = "查询成功", totalCount = list.Count, data = list.ToList() });
}
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public JsonResult GetCtnBodyList2(string condition)
{
List<MsWlBsCtn> list = MsWlBsDAL.GetCtnBodyList(condition);
return Json(new { Success = true, Message = "查询成功", totalCount = list.Count, data = list.ToList() });
}
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public JsonResult GetFeeBodyList(string billno)
{
var condition = " BillNo='" + billno + "'";

@ -61,7 +61,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
return View();
}
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetDataList(int start, int limit, string sort, string condition)
{
var dataList = MsWlBsDAL.GetDataList(condition, Convert.ToString(Session["USERID"]), CookieConfig.GetCookie_UserCode(Request), CookieConfig.GetCookie_OrgCode(Request),sort);
@ -71,7 +71,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
var json = JsonConvert.Serialize(new { Success = true, Message = "查询成功", totalCount = dataList.Count, data = list.ToList() });
return new ContentResult() { Content = json };
}
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetListSum(string condition)
{
var rangstr = MsWlPcDAL.GetRangDAStr("index", Convert.ToString(Session["USERID"]), CookieConfig.GetCookie_UserCode(Request), CookieConfig.GetCookie_OrgCode(Request));
@ -116,7 +116,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
//
// GET/TruckMng/WlBsCard/GetData/
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetData(string handle, string condition)
{
MsWlBsHead head = null;
@ -141,7 +141,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
return new ContentResult() { Content = json };
}
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public JsonResult GetPcBodyList(string condition,string sort)
{
var list = MsWlBsDAL.GetPcBodyList(condition,sort);

@ -44,7 +44,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
//
// GET/TruckMng/WlTruck/GetDataList
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetDataList(int start, int limit, string sort, string condition)
{
var dataList = MsWlBs_HTDAL.GetDataList(condition, Convert.ToString(Session["USERID"]), CookieConfig.GetCookie_UserCode(Request), CookieConfig.GetCookie_OrgCode(Request), sort);
@ -57,7 +57,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
//
// GET/TruckMng/WlBsCard/GetData/
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetData(string handle, string condition)
{
MsWlBsHead head = null;

@ -33,7 +33,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
//
// GET/TruckMng/MsWlBulk/GetDataList
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetDataList(int start, int limit, string sort, string condition)
{
var dataList = MsWlBulkDAL.GetDataList(condition, Convert.ToString(Session["USERID"]), CookieConfig.GetCookie_UserCode(Request), CookieConfig.GetCookie_OrgCode(Request));
@ -46,7 +46,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
//
// GET/TruckMng/MsWlBulk/GetData/
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetData(string handle, string condition)
{
MsWlBulkHead head = null;

@ -60,7 +60,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
//
// GET/TruckMng/MsWlBulkPc/GetDataList
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetDataList(int start, int limit, string sort, string condition)
{
var sqlwhere = condition;
@ -75,7 +75,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
var json = JsonConvert.Serialize(new { Success = true, Message = "查询成功", totalCount = dataList.Count, data = list.ToList() });
return new ContentResult() { Content = json };
}
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetDataQueryList(int start, int limit, string sort, string condition)
{
var sqlwhere = condition;
@ -90,7 +90,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
var json = JsonConvert.Serialize(new { Success = true, Message = "查询成功", totalCount = dataList.Count, data = dataList.ToList() });
return new ContentResult() { Content = json };
}
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetChacheDataList(int start, int limit, string sort, string condition)
{
var sqlwhere = condition;
@ -109,7 +109,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
//
// GET/TruckMng/MsWlBulkPc/GetData/
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetData(string handle, string condition)
{
MsWlPcHead headData = null;

@ -44,7 +44,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
//
// GET/TruckMng/MsWlCheckAcc/GetDataList
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetDataList(int start, int limit, string sort, string condition)
{
@ -71,7 +71,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
var json = JsonConvert.Serialize(new { Success = true, Message = "查询成功", totalCount = dataList.Count, data = list.ToList() });
return new ContentResult() { Content = json };
}
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetDataPcList(int start, int limit, string sort, string condition)
{
var dataList = MsWlCheckAccDAL.GetDataPcList(condition);
@ -97,7 +97,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
}
//
// GET/TruckMng/MsWlCheckAcc/GetData/
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetData(string handle, string condition)
{
MsWlCheckAcc head = null;

@ -39,7 +39,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
//
// GET/TruckMng/MsWlCk/GetDataList
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetDataList(int start, int limit, string sort, string condition)
{
var dataList = MsWlCkDAL.GetDataList(condition);
@ -52,7 +52,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
//
// GET/TruckMng/MsWlCk/GetData/
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetData(string handle, string condition)
{
MsWlCkHead headData = null;

@ -31,7 +31,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
//
// GET/TruckMng/MsWlDj/GetDataList
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetDataList(int start, int limit, string sort, string condition)
{
var dataList = MsWlDjDAL.GetDataList(condition, Convert.ToString(Session["USERID"]), CookieConfig.GetCookie_UserCode(Request), CookieConfig.GetCookie_OrgCode(Request));
@ -44,7 +44,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
//
// GET/TruckMng/MsWlDj/GetData/
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetData(string handle, string condition)
{
MsWlDjHead head = null;
@ -65,7 +65,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
new { Success = true, Message = "查询成功", data = head });
return new ContentResult() { Content = json };
}
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetDetailDataList(int start, int limit, string sort, string condition)
{
var dataList = MsWlDjDAL.GetDetailDataList(condition);

@ -40,7 +40,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
//
// GET/TruckMng/MsWlDjPc/GetDataList
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetDataList(int start, int limit, string sort, string condition)
{
var sqlwhere = condition;
@ -58,7 +58,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
//
// GET/TruckMng/MsWlDjPc/GetData/
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetData(string handle, string condition)
{
MsWlPcHead headData = null;

@ -54,7 +54,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
//
// GET/TruckMng/MsWlDriver/GetData/
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetData(string handle, string condition)
{

@ -39,7 +39,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
//
// GET/TruckMng/MsWlInsure/GetDataList
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetDataList(int start, int limit, string sort, string condition)
{
var dataList = MsWlInsureDAL.GetDataList(condition, Convert.ToString(Session["USERID"]), CookieConfig.GetCookie_UserCode(Request), CookieConfig.GetCookie_OrgCode(Request),sort);
@ -52,7 +52,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
//
// GET/TruckMng/MsWlInsure/GetData/
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetData(string handle, string condition)
{
MsWlInsureHead headData = null;

@ -29,7 +29,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
//
// GET/TruckMng/MsWlInsureLtd/GetDataList
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetDataList(int start, int limit, string sort, string condition)
{
var dataList = MsWlInsureLtdDAL.GetDataList(condition);
@ -42,7 +42,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
//
// GET/TruckMng/MsWlInsureLtd/GetData/
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetData(string handle, string condition)
{
MsWlInsureLtd head = null;

@ -40,7 +40,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
//
// GET: /TruckMng/MsWlPc/
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetDataList(string refbillno)
{
var condition = " RefBillNo='" + refbillno + "' or BILLNO in(select PC_BILLNO from BS_PC_Status where BS_BILLNO='" + refbillno + "')";// or RefBillNoSe='" + refbillno + "'";
@ -49,7 +49,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
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 GetDataList_ADL ( int start, int limit, string sort, string condition )
{
//var condition = " RefBillNo='" + refbillno + "'";// or RefBillNoSe='" + refbillno + "'";
@ -61,6 +61,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
var json = JsonConvert.Serialize(new { Success = true, Message = "查询成功", totalCount = dataList.Count, data = list.ToList() });
return new ContentResult() { Content = json };
}
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetListSum(string condition)
{
var rangstr = MsWlPcDAL.GetRangDAStr("index", Convert.ToString(Session["USERID"]), CookieConfig.GetCookie_UserCode(Request), CookieConfig.GetCookie_OrgCode(Request));
@ -101,6 +102,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
}
//用于查找可以用来添加双背的路单
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetSBPC(string condition,string refbillno)
{
var _condition = " RefBillNo<>'" + refbillno + "' and BILLNO not in(select PC_BILLNO from BS_PC_Status where BS_BILLNO='" + refbillno + "') and expdate=(select NeedArriveDate from tmswlbshead where billno='" + refbillno + "')";// or RefBillNoSe='" + refbillno + "'";
@ -116,7 +118,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
//
// GET/TruckMng/MsWlPc/GetData
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetData(string handle, string condition, string refbillno)
{
MsWlPcHead pcHead = null;
@ -168,7 +170,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
new { Success = true, Message = "查询成功", data = pcHead });
return new ContentResult() { Content = json };
}
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetData_ADL ( string handle, string condition, string refbillno )
{
MsWlPcHead_ADL pcHead = null;

@ -33,7 +33,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
//
// GET/TruckMng/MsWlPcHead/GetDataList
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetDataList(int start, int limit, string sort, string condition)
{
var dataList = MsWlPcHeadDAL.GetDataList(condition, Convert.ToString(Session["USERID"]), CookieConfig.GetCookie_UserCode(Request), CookieConfig.GetCookie_OrgCode(Request),sort);
@ -46,7 +46,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
//
// GET/TruckMng/MsWlPcHead/GetData/
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetData(string handle, string condition)
{
MsWlPcHead head = null;

@ -39,7 +39,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
//
// GET/TruckMng/MsWlRk/GetDataList
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetDataList(int start, int limit, string sort, string condition)
{
var dataList = MsWlRkDAL.GetDataList(condition);
@ -52,7 +52,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
//
// GET/TruckMng/MsWlRk/GetData/
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetData(string handle, string condition)
{
MsWlRkHead headData = null;
@ -134,7 +134,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
var jsonRespose = new JsonResponse { Success = result.Success, Message = result.Message };
return new ContentResult() { Content = JsonConvert.Serialize(jsonRespose) };
}
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetBodyList(string billno)
{
var condition = " BillNo='" + billno + "' ";

@ -38,7 +38,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
//
// GET/TruckMng/MsWlTruck/GetDataList
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetDataList(int start, int limit, string sort, string condition)
{
var dataList = MsWlTruckDAL.GetDataList(condition, Convert.ToString(Session["USERID"]), CookieConfig.GetCookie_UserCode(Request), CookieConfig.GetCookie_OrgCode(Request),sort);
@ -51,7 +51,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
//
// GET/TruckMng/MsWlTruck/GetData/
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetData(string handle, string condition)
{
MsWlTruck head = null;
@ -156,7 +156,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
#endregion
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
//
public ContentResult GetTruckMonthList ( string condition )
{

@ -34,6 +34,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
#region 车辆其他费用记录
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetDataList(int start, int limit, string sort, string condition)
{
var USERID = Convert.ToString(CookieConfig.GetCookie_UserId(Request));
@ -46,6 +47,8 @@ namespace DSWeb.Areas.TruckMng.Controllers
var json = JsonConvert.Serialize(new { Success = true, Message = "查询成功", totalCount = dataList.Count, data = list.ToList() });
return new ContentResult() { Content = json };
}
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetData(string condition)
{
MsWlTruckFee head = null;

@ -34,7 +34,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
//
// GET/TruckMng/MsWlTruck/GetDataList
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetDataList(int start, int limit, string sort, string condition)
{
var dataList = MsWlTruckDAL.GetTruckTeamList(condition, sort);
@ -48,7 +48,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
//
// GET/TruckMng/MsWlTruck/GetData/
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetData(string handle, string condition)
{
MsWlTruck head = null;
@ -134,7 +134,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
var json = JsonConvert.Serialize(new { Success = true, Message = "查询成功", totalCount = _r, data = "" });
return new ContentResult() { Content = json };
}
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetTruckNoList(string condition)
{
var list = MsWlTruckDAL.GetTruckNoList(Convert.ToString(Session["USERID"]), CookieConfig.GetCookie_UserCode(Request),

@ -30,7 +30,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
//
// GET/TruckMng/MsWlTyreAcc/GetDataList
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetDataList(int start, int limit, string sort, string condition)
{
var dataList = MsWlTyreAccDAL.GetDataList(condition, Convert.ToString(Session["USERID"]), CookieConfig.GetCookie_UserCode(Request), CookieConfig.GetCookie_OrgCode(Request),sort);
@ -43,7 +43,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
//
// GET/TruckMng/MsWlTyreAcc/GetData/
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetData(string handle, string condition)
{
MsWlTyreAcc head = null;

@ -29,6 +29,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
//
// GET/TruckMng/MsWlTyreCk/GetDataList
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetDataList(int start, int limit, string sort, string condition)
{
@ -42,7 +43,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
//
// GET/TruckMng/MsWlTyreCk/GetData/
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetData(string handle, string condition)
{
MsWlTyreCk head = null;

@ -30,6 +30,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
//
// GET/TruckMng/MsWlTyre/GetDataList
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetDataList(int start, int limit, string sort, string condition)
{
@ -43,7 +44,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
//
// GET/TruckMng/MsWlTyre/GetData/
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetData(string handle, string condition)
{
MsWlTyre head = null;

@ -39,7 +39,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
//
// GET/TruckMng/MsWlTyreRep/GetDataList
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetDataList(int start, int limit, string sort, string condition)
{
var dataList = MsWlTyreRepDAL.GetDataList(condition, Convert.ToString(Session["USERID"]), CookieConfig.GetCookie_UserCode(Request), CookieConfig.GetCookie_OrgCode(Request));
@ -52,7 +52,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
//
// GET/TruckMng/MsWlTyreRep/GetData/
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetData(string handle, string condition)
{
MsWlTyreRepHead headData = null;

@ -30,7 +30,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
//
// GET/TruckMng/MsWlTyreScrap/GetDataList
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetDataList(int start, int limit, string sort, string condition)
{
var dataList = MsWlTyreScrapDAL.GetDataList(condition, Convert.ToString(Session["USERID"]), CookieConfig.GetCookie_UserCode(Request), CookieConfig.GetCookie_OrgCode(Request));
@ -43,7 +43,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
//
// GET/TruckMng/MsWlTyreScrap/GetData/
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetData(string handle, string condition)
{
MsWlTyreScrap head = null;

@ -34,7 +34,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
//
// GET/TruckMng/MsWlTyreWx/GetDataList
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetDataList(int start, int limit, string sort, string condition)
{
var dataList = MsWlTyreWxDAL.GetDataList(condition, Convert.ToString(Session["USERID"]), CookieConfig.GetCookie_UserCode(Request), CookieConfig.GetCookie_OrgCode(Request));
@ -47,7 +47,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
//
// GET/TruckMng/MsWlTyreWx/GetData/
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetData(string handle, string condition)
{
MsWlTyreWx head = null;

@ -41,7 +41,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
{
return View();
}
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetDataList ( int start, int limit, string sort, string condition )
{
var dataList = MsWl_ADLDAL.GetDataList(condition, sort);
@ -51,6 +51,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
var json = JsonConvert.Serialize(new { Success = true, Message = "查询成功", totalCount = dataList.Count, data = list.ToList() });
return new ContentResult() { Content = json };
}
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetData(string handle, string condition)
{
MsWl_ADLFuelmb headData = null;

@ -41,6 +41,8 @@ namespace DSWeb.Areas.TruckMng.Controllers
//
// GET/TruckMng/MsWlTruck/GetDataList
#endregion
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetDataList(int start, int limit, string sort, string condition)
{
var dataList = MsWl_HH_ZYDAL.GetDataList(condition, sort);
@ -50,7 +52,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
var json = JsonConvert.Serialize(new { Success = true, Message = "查询成功", totalCount = dataList.Count, data = list.ToList() });
return new ContentResult() { Content = json };
}
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetDataList_2(int start, int limit, string sort, string condition)
{
var dataList = MsWl_HH_ZYDAL.GetDataList_2(condition, sort);
@ -63,7 +65,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
//
// GET/TruckMng/MsWlTruck/GetData/
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetData(string handle, string condition)
{
MsWl_HH_ZYmb head = null;

@ -40,7 +40,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
//
// GET/TruckMng/MsWlTruck/GetDataList
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetDataList(int start, int limit, string sort, string condition)
{
var dataList = MsWl_HH_ZYDAL.GetDataList(condition, sort);
@ -50,7 +50,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
var json = JsonConvert.Serialize(new { Success = true, Message = "查询成功", totalCount = dataList.Count, data = list.ToList() });
return new ContentResult() { Content = json };
}
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetDataList_2(int start, int limit, string sort, string condition)
{
var dataList = MsWl_HH_ZYDAL.GetDataList_2(condition, sort);
@ -63,7 +63,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
//
// GET/TruckMng/MsWlTruck/GetData/
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetData(string handle, string condition)
{
MsWl_HH_ZYmb head = null;

@ -50,7 +50,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
}
//
// GET/RptMng/MsRptPcHeadQry/QryData
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult QryData(int start, int limit, string condition,string sort)
{
@ -208,7 +208,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
return str;
}
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetDataList(int start, int limit, string sort, string condition)
{
var dataList = GetDataList(condition, sort);
@ -218,7 +218,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
var json = JsonConvert.Serialize(new { Success = true, Message = "查询成功", totalCount = dataList.Count, data = list.ToList() });
return new ContentResult() { Content = json };
}
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
static public List<MsWlPcHead> GetDataList( string condition,string sort)
{
var strSql = new StringBuilder();
@ -266,7 +266,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
return new ContentResult() { Content = json };
}*/
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
static public MsWlPcHead GetData(string condition)
{
var _t = "";

@ -131,7 +131,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
return str;
}
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetDataList(int start, int limit, string sort, string condition)
{
var dataList = GetDataList(condition, sort);
@ -141,7 +141,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
var json = JsonConvert.Serialize(new { Success = true, Message = "查询成功", totalCount = dataList.Count, data = list.ToList() });
return new ContentResult() { Content = json };
}
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
static public List<MsWl_HaierMain> GetDataList(string condition, string sort)
{
var strSql = new StringBuilder();
@ -185,7 +185,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
return new ContentResult() { Content = json };
}*/
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
static public MsWl_HaierMain GetData(string condition)
{
var _t = "";

@ -50,7 +50,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
//
// GET/TruckMng/MsWlDjPc/GetDataList
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetDataList(int start, int limit, string sort, string condition)
{
var sqlwhere = condition;
@ -68,7 +68,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
//
// GET/TruckMng/MsWlDjPc/GetData/
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetData(string handle, string condition)
{
MsWl_LKPCHead headData = null;

@ -35,7 +35,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
return View();
}
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetDataList(int start, int limit, string sort, string condition)
{
var dataList =MsWl_LKPCDAL. GetCargoInfoList(condition, sort);

@ -38,7 +38,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
return View();
}
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetDataList(int start, int limit, string sort, string condition)
{
var dataList = GetDataList(condition,sort);
@ -49,7 +49,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
return new ContentResult() { Content = json };
}
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
private static List<MsWl_LK_Linemb> GetDataList(string strCondition,string sort)
{
var strSql = new StringBuilder();
@ -200,7 +200,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
#region 线路内节点明细
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetLineDetailList ( int start, int limit, string sort, string LINE_GID )
{
var condition = " LINE_GID='" + LINE_GID + "' ";
@ -212,7 +212,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
return new ContentResult() { Content = json };
}
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
private static List<MsWl_LK_LineDetailmb> GetLineDetailList ( string strCondition, string sort )
{
var strSql = new StringBuilder();

@ -35,7 +35,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
}
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetPCDetailList ( int start, int limit, string sort, string condition )
{
List<MsWl_LK_CargoRPTmb> list = MsWl_LKPCDAL.GetCargoRPTList(condition);
@ -43,7 +43,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
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<MsWl_LK_CargoDoRPTmb> list = MsWl_LKPCDAL.GetCargoDoRPTList(condition);
@ -51,7 +51,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
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<MsWl_LK_CargoDoRPT2mb> list = MsWl_LKPCDAL.GetCargoDoRPT_EXPDATE(condition);
@ -59,6 +59,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
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<MsWl_LK_CargoDoRPT2mb> list = MsWl_LKPCDAL.GetCargoDoRPT_POINT(condition);
@ -66,6 +67,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
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<MsWl_LK_CargoDoRPT2mb> list = MsWl_LKPCDAL.GetCargoDoRPT_TRUCKNO(condition);
@ -73,6 +75,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
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<MsWl_LK_CargoDoRPT2mb> list = MsWl_LKPCDAL.GetCargoDoRPT_DRVNAME(condition);

@ -61,6 +61,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
}
#region 码头业务主表
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetDataList(int start, int limit, string sort, string condition)
{
var dataList = MsWl_PortDAL.GetDataList(condition,sort);
@ -70,6 +71,8 @@ namespace DSWeb.Areas.TruckMng.Controllers
var json = JsonConvert.Serialize(new { Success = true, Message = "查询成功", totalCount = dataList.Count, data = list.ToList() });
return new ContentResult() { Content = json };
}
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetData(string handle, string condition)
{
MsWl_Portmb head = null;
@ -104,6 +107,8 @@ namespace DSWeb.Areas.TruckMng.Controllers
var json = JsonConvert.Serialize(new { Success = true, Message = "查询成功", totalCount = dataList.Count, data = list.ToList() });
return new ContentResult() { Content = json };
}
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetCtnData(string handle, string condition)
{
PortCtnmb head = null;
@ -137,6 +142,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
var json = JsonConvert.Serialize(new { Success = true, Message = "查询成功", totalCount = dataList.Count, data = list.ToList() });
return new ContentResult() { Content = json };
}
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetOtherData(string handle, string condition)
{
PortOthermb head = null;
@ -170,6 +176,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
var json = JsonConvert.Serialize(new { Success = true, Message = "查询成功", totalCount = dataList.Count, data = list.ToList() });
return new ContentResult() { Content = json };
}
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetROData(string handle, string condition)
{
PortROmb head = null;
@ -203,6 +210,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
var json = JsonConvert.Serialize(new { Success = true, Message = "查询成功", totalCount = dataList.Count, data = list.ToList() });
return new ContentResult() { Content = json };
}
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetMovCtnData(string handle, string condition)
{
PortMovCtnmb head = null;
@ -236,6 +244,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
var json = JsonConvert.Serialize(new { Success = true, Message = "查询成功", totalCount = dataList.Count, data = list.ToList() });
return new ContentResult() { Content = json };
}
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetGJData(string handle, string condition)
{
PortGJmb head = null;

@ -43,6 +43,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
}
#region 集合列表—码头加油记录
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetFuelTruckList(int start, int limit, string sort, string condition)
{
var dataList = MsWl_PortDAL.GetFuelTruckList(condition, sort);
@ -52,6 +53,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
var json = JsonConvert.Serialize(new { Success = true, Message = "查询成功", totalCount = dataList.Count, data = list.ToList() });
return new ContentResult() { Content = json };
}
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetFuelTruck(string handle, string condition)
{
FuelTruckListmb head = null;
@ -64,7 +66,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
new { Success = true, Message = "查询成功", data = head });
return new ContentResult() { Content = json };
}
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetFuelDate(int start, int limit, string sort, string condition)
{
var dataList = MsWl_PortDAL.GetFuelDate(condition, sort);
@ -74,7 +76,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
var json = JsonConvert.Serialize(new { Success = true, Message = "查询成功", totalCount = dataList.Count, data = list.ToList() });
return new ContentResult() { Content = json };
}
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetFuelPrice(int start, int limit, string sort, string condition, string condition2)
{
var dataList = MsWl_PortDAL.GetFuelPrice(condition, condition2, sort, Session["COMPANYID"].ToString(), Session["USERID"].ToString());

@ -54,7 +54,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
return View();
}
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetDataList ( int start, int limit, string sort, string condition )
{
var dataList = MsRptPcHeadEditDAL.GetLTJYList(condition, CookieConfig.GetCookie_UserId(Request), CookieConfig.GetCookie_UserCode(Request), CookieConfig.GetCookie_UserName(Request), CookieConfig.GetCookie_CompanyId(Request), sort);
@ -64,7 +64,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
var json = JsonConvert.Serialize(new { Success = true, Message = "查询成功", totalCount = dataList.Count, data = list.ToList() });
return new ContentResult() { Content = json };
}
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetDataFenList(int start, int limit, string sort, string condition)
{
var dataList = MsRptPcHeadEditDAL.GetLTJYFenList(condition, sort);
@ -74,7 +74,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
var json = JsonConvert.Serialize(new { Success = true, Message = "查询成功", totalCount = dataList.Count, data = list.ToList() });
return new ContentResult() { Content = json };
}
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetData(string handle, string condition)
{
MsWlPcHead_LTJYEdit head = null;

@ -86,6 +86,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
{
return View();
}
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetDataList ( int start, int limit, string sort, string condition )
{
var dataList = MsRptPcHeadEditDAL.GetWFSDList(condition, CookieConfig.GetCookie_UserId(Request), CookieConfig.GetCookie_UserCode(Request), CookieConfig.GetCookie_UserName(Request), CookieConfig.GetCookie_CompanyId(Request), sort);
@ -95,6 +96,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
var json = JsonConvert.Serialize(new { Success = true, Message = "查询成功", totalCount = dataList.Count, data = list.ToList() });
return new ContentResult() { Content = json };
}
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetDataFenList(int start, int limit, string sort, string condition)
{
var dataList = MsRptPcHeadEditDAL.GetWFSDFenList(condition, sort);
@ -104,7 +106,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
var json = JsonConvert.Serialize(new { Success = true, Message = "查询成功", totalCount = dataList.Count, data = list.ToList() });
return new ContentResult() { Content = json };
}
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetData(string handle, string condition)
{
MsWlPcHead_WFSDEdit head = null;
@ -163,7 +165,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
return new ContentResult() { Content = JsonConvert.Serialize(jsonRespose) };
}
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetQDLHDataList(int start, int limit, string sort, string condition)
{
var dataList = MsRptPcHeadEditDAL.GetQDLHList(condition, CookieConfig.GetCookie_UserId(Request), CookieConfig.GetCookie_UserCode(Request), CookieConfig.GetCookie_UserName(Request), CookieConfig.GetCookie_CompanyId(Request), sort);
@ -173,6 +175,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
var json = JsonConvert.Serialize(new { Success = true, Message = "查询成功", totalCount = dataList.Count, data = list.ToList() });
return new ContentResult() { Content = json };
}
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetQDLHData(string handle, string condition)
{
MsWlPcHead_QDLHEdit head = null;
@ -592,7 +595,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
}
}
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult RptTruckListData(int start, int limit, string condition, string sort, string printstr, string sortstr)
{

@ -28,7 +28,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
//
// GET/TruckMng/RPT_ly/GetDataList
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetDataList(int start, int limit, string sort, string condition)
{
var dataList = RPT_lyDAL.GetDataList(condition);
@ -55,7 +55,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
//
// GET/TruckMng/MsWlCheckAcc/GetData/
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetData(string handle, string condition)
{
RPT_lymb head = null;

@ -29,7 +29,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
//
// GET/TruckMng/RPT_ly/GetDataList
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetDataList(int start, int limit, string sort, string condition)
{
var dataList = RPT_zb_lrbbDAL.GetDataList(condition);
@ -41,7 +41,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
//
// GET/TruckMng/MsWlCheckAcc/GetData/
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetData(string handle, string condition)
{
RPT_zb_lrbbmb head = null;

@ -47,7 +47,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
//
// GET/TruckMng/MsWlTruck/GetDataList
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult MONTH_GetDataList(int start, int limit, string sort, string condition)
{
var dataList = TMSRPTDAL.GetDataList(condition, Convert.ToString(Session["USERID"]), CookieConfig.GetCookie_UserCode(Request), CookieConfig.GetCookie_OrgCode(Request), sort);
@ -60,7 +60,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
//
// GET/TruckMng/MsWlTruck/GetData/
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult MONTH_GetData ( string handle, string condition )
{
TMSRPT_MONTH head = null;
@ -143,7 +143,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
var jsonRespose = new JsonResponse { Success = result.Success, Message = result.Message };
return new ContentResult() { Content = JsonConvert.Serialize(jsonRespose) };
}
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetBodyList(int start, int limit, string condition)
{
var dataList = TMSRPTDAL.GetBodyList(condition);
@ -151,7 +151,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
var json = JsonConvert.Serialize(new { Success = true, Message = "查询成功", totalCount = dataList.Count, data = list.ToList() });
return new ContentResult() { Content = json };
}
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetCompanyDetailList ( int start, int limit, string condition )
{
var dataList = TMSRPTDAL.GetCompanyDetailList(condition);

@ -28,7 +28,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
//
// GET/TruckMng/WlTruck/GetDataList
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public JsonResult GetDataList(int start, int limit, string sort, string condition)
{
var ordYhList = WlTruckDAL.GetDataList(condition);
@ -40,7 +40,7 @@ namespace DSWeb.Areas.TruckMng.Controllers
//
// GET/TruckMng/WlTruck/GetData/
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public JsonResult GetData(string handle, string condition)
{
WlTruck wlTruck = null;

@ -242,7 +242,7 @@ namespace JobCreateFee
OPSEAE.BSNO = row["BSNO"].ToString();
OPSEAE.FEESTATUS = Convert.ToBoolean(row["FEESTATUS"].ToString());
OPSEAE.BSSTATUS = Convert.ToBoolean(row["BSSTATUS"].ToString());
OPSEAE.ETD = Convert.ToString(row["BSSTATUS"].ToString());
OPSEAE.ETD = Convert.ToString(row["ETD"].ToString());
}

Loading…
Cancel
Save