@ -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" ] ) ) ;