hanxuntao 3 weeks ago
parent 7049900afa
commit 92465fc51f

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup> <PropertyGroup>
<LastActiveSolutionConfig>Release|Any CPU</LastActiveSolutionConfig> <LastActiveSolutionConfig>Debug|Any CPU</LastActiveSolutionConfig>
<NameOfLastUsedPublishProfile>FolderProfile</NameOfLastUsedPublishProfile> <NameOfLastUsedPublishProfile>FolderProfile</NameOfLastUsedPublishProfile>
<UseIISExpress>true</UseIISExpress> <UseIISExpress>true</UseIISExpress>
<Use64BitIISExpress /> <Use64BitIISExpress />

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup> <PropertyGroup>
<LastActiveSolutionConfig>Release|Any CPU</LastActiveSolutionConfig> <LastActiveSolutionConfig>Debug|Any CPU</LastActiveSolutionConfig>
<UseIISExpress>true</UseIISExpress> <UseIISExpress>true</UseIISExpress>
<Use64BitIISExpress /> <Use64BitIISExpress />
<IISExpressSSLPort /> <IISExpressSSLPort />

@ -320,6 +320,7 @@ namespace DSWeb.MvcShipping.Controllers
// string sql = MsOp_YAXIANGDAL.gethea; // string sql = MsOp_YAXIANGDAL.gethea;
//} //}
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetDataList(int start, int limit, string condition, string sort="") public ContentResult GetDataList(int start, int limit, string condition, string sort="")
{ {
var dataList = MsOp_YAXIANGDAL.GetDataList(condition,Session["USERID"].ToString(), sort); var dataList = MsOp_YAXIANGDAL.GetDataList(condition,Session["USERID"].ToString(), sort);
@ -352,6 +353,7 @@ namespace DSWeb.MvcShipping.Controllers
return new ContentResult() { Content = json }; return new ContentResult() { Content = json };
} }
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetData(string handle, string condition) public ContentResult GetData(string handle, string condition)
{ {
var data = MsOp_YAXIANGDAL.GetData(condition, Session["USERID"].ToString()); var data = MsOp_YAXIANGDAL.GetData(condition, Session["USERID"].ToString());
@ -390,6 +392,7 @@ namespace DSWeb.MvcShipping.Controllers
return new ContentResult() { Content = json }; return new ContentResult() { Content = json };
} }
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult GetBodyList( string condition ) public ContentResult GetBodyList( string condition )
{ {
var dataList = MsOp_YAXIANGDAL.GetBodyList(condition); var dataList = MsOp_YAXIANGDAL.GetBodyList(condition);
@ -417,6 +420,7 @@ namespace DSWeb.MvcShipping.Controllers
#endregion #endregion
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult Save(string opstatus, string data, string Body, string DelBody)// public ContentResult Save(string opstatus, string data, string Body, string DelBody)//
{ {
@ -516,7 +520,8 @@ namespace DSWeb.MvcShipping.Controllers
var strSql = " update MsOp_YAXIANG set SPENDMONEY= "; var strSql = " update MsOp_YAXIANG set SPENDMONEY= ";
} }
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult Delete(string data) public ContentResult Delete(string data)
{ {
Database db = DatabaseFactory.CreateDatabase(); Database db = DatabaseFactory.CreateDatabase();
@ -548,6 +553,7 @@ namespace DSWeb.MvcShipping.Controllers
} }
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult DelDetail(string data,string GID) public ContentResult DelDetail(string data,string GID)
{ {
Database db = DatabaseFactory.CreateDatabase(); Database db = DatabaseFactory.CreateDatabase();
@ -592,6 +598,7 @@ namespace DSWeb.MvcShipping.Controllers
#region 状态变更 #region 状态变更
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult PushState(string data,string Execution) { public ContentResult PushState(string data,string Execution) {
Database db = DatabaseFactory.CreateDatabase(); Database db = DatabaseFactory.CreateDatabase();
@ -604,6 +611,7 @@ namespace DSWeb.MvcShipping.Controllers
} }
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
private ContentResult doPushState(YXmb head, string Execution) private ContentResult doPushState(YXmb head, string Execution)
{ {
var modb = new ModelObjectRepository(); var modb = new ModelObjectRepository();
@ -631,6 +639,7 @@ namespace DSWeb.MvcShipping.Controllers
return new ContentResult() { Content = JsonConvert.Serialize(result) }; return new ContentResult() { Content = JsonConvert.Serialize(result) };
} }
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult PushState_List(string dataList, string Execution) public ContentResult PushState_List(string dataList, string Execution)
{ {
@ -983,6 +992,8 @@ namespace DSWeb.MvcShipping.Controllers
} }
//驳回提交 //驳回提交
[SqlKeyWordsFilter(Type = "Action")]//sql 防注入过滤器
public ContentResult AuditBack(string dataList,string reason) public ContentResult AuditBack(string dataList,string reason)
{ {

@ -20466,7 +20466,7 @@ namespace DSWeb.MvcShipping.DAL.MsOpSeaeEdiPortDAL
else else
{ {
error += formatlengthError("txt", bill.SHIPPER, 75, bill.MBLNO, "发货人", 6, "*", false); error += formatlengthError("txt", bill.SHIPPER, 65, bill.MBLNO, "发货人", 6, "*", false);
} }
} }
@ -20492,11 +20492,11 @@ namespace DSWeb.MvcShipping.DAL.MsOpSeaeEdiPortDAL
{ {
if (carrier == "HLCU") if (carrier == "HLCU")
{ {
error += formatlengthError("txt", bill.CONSIGNEE, 75, bill.MBLNO, "收货人", 6, "--", false); error += formatlengthError("txt", bill.CONSIGNEE, 65, bill.MBLNO, "收货人", 6, "--", false);
} }
else else
{ {
error += formatlengthError("txt", bill.CONSIGNEE, 75, bill.MBLNO, "收货人", 6, "**", false); error += formatlengthError("txt", bill.CONSIGNEE, 65, bill.MBLNO, "收货人", 6, "**", false);
} }
} }
} }
@ -20521,11 +20521,11 @@ namespace DSWeb.MvcShipping.DAL.MsOpSeaeEdiPortDAL
{ {
if (carrier == "HLCU") if (carrier == "HLCU")
{ {
error += formatlengthError("txt", bill.NOTIFYPARTY, 75, bill.MBLNO, "通知人", 6, "---", false); error += formatlengthError("txt", bill.NOTIFYPARTY, 65, bill.MBLNO, "通知人", 6, "---", false);
} }
else else
{ {
error += formatlengthError("txt", bill.NOTIFYPARTY, 75, bill.MBLNO, "通知人", 6, "***", false); error += formatlengthError("txt", bill.NOTIFYPARTY, 65, bill.MBLNO, "通知人", 6, "***", false);
} }
} }
} }
@ -21130,7 +21130,7 @@ namespace DSWeb.MvcShipping.DAL.MsOpSeaeEdiPortDAL
Shipping =bill.SHIPPER; Shipping =bill.SHIPPER;
if (type == "VOLTAEDI") if (type == "VOLTAEDI")
ShippingList = formatlengthStr(Shipping, 75); ShippingList = formatlengthStr(Shipping, 65);
else else
ShippingList = formatlengthStr(Shipping, 35); ShippingList = formatlengthStr(Shipping, 35);
var shippingcode = ""; var shippingcode = "";
@ -21195,7 +21195,7 @@ namespace DSWeb.MvcShipping.DAL.MsOpSeaeEdiPortDAL
else else
Shipping =bill.CONSIGNEE; Shipping =bill.CONSIGNEE;
if (type == "VOLTAEDI") if (type == "VOLTAEDI")
ShippingList = formatlengthStr(Shipping, 75); ShippingList = formatlengthStr(Shipping, 65);
else else
ShippingList = formatlengthStr(Shipping, 35); ShippingList = formatlengthStr(Shipping, 35);
if (carrier == "ZIM") shippingcode = OpAms.CONSIGNEECODE; if (carrier == "ZIM") shippingcode = OpAms.CONSIGNEECODE;
@ -21261,7 +21261,7 @@ namespace DSWeb.MvcShipping.DAL.MsOpSeaeEdiPortDAL
else else
Shipping =bill.NOTIFYPARTY; Shipping =bill.NOTIFYPARTY;
if (type == "VOLTAEDI") if (type == "VOLTAEDI")
ShippingList = formatlengthStr(Shipping, 75); ShippingList = formatlengthStr(Shipping, 65);
else else
ShippingList = formatlengthStr(Shipping, 35); ShippingList = formatlengthStr(Shipping, 35);
if (carrier == "ZIM") shippingcode = OpAms.NOTIFYPARTYCODE; if (carrier == "ZIM") shippingcode = OpAms.NOTIFYPARTYCODE;

@ -1988,8 +1988,13 @@ namespace DSWeb.Areas.TruckMng.Models.MsWlBs
get { return _Ton; } get { return _Ton; }
set { _Ton = value; } set { _Ton = value; }
} }
private string _AroundTon = "0";
[ModelDB] [ModelDB]
public string AroundTon { get; set; } public string AroundTon
{
get { return _AroundTon; }
set { _AroundTon = value; }
}
[ModelDB] [ModelDB]
public string GOODSCOUNT public string GOODSCOUNT

@ -1851,7 +1851,7 @@ Ext.extend(DsTruck.MsPcEditIndex, Ext.Panel, {
this.CheckSaveQuery = new Ext.form.Checkbox({ this.CheckSaveQuery = new Ext.form.Checkbox({
fieldLabel: '显示分票', //记忆查询条件 fieldLabel: '显示分票', //记忆查询条件
checked: true, checked: false,
labelWidth: 55, labelWidth: 55,
width: 80 width: 80
}); });

@ -1747,7 +1747,7 @@ Ext.extend(DsTruck.MsPcEditIndex, Ext.Panel, {
this.CheckSaveQuery = new Ext.form.Checkbox({ this.CheckSaveQuery = new Ext.form.Checkbox({
fieldLabel: '显示分票', //记忆查询条件 fieldLabel: '显示分票', //记忆查询条件
checked: true, checked: false,
labelWidth: 55, labelWidth: 55,
width: 80 width: 80
}); });

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup> <PropertyGroup>
<LastActiveSolutionConfig>Release|Any CPU</LastActiveSolutionConfig> <LastActiveSolutionConfig>Debug|Any CPU</LastActiveSolutionConfig>
<UseIISExpress>true</UseIISExpress> <UseIISExpress>true</UseIISExpress>
<Use64BitIISExpress /> <Use64BitIISExpress />
<IISExpressSSLPort /> <IISExpressSSLPort />

@ -38,7 +38,7 @@ namespace JobCreateFee
var JsonGetBankData = new GetBankData(); var JsonGetBankData = new GetBankData();
JsonGetBankData.AccountName = companyName; JsonGetBankData.AccountName = companyName;
JsonGetBankData.AccountKey = CustId; JsonGetBankData.AccountKey = CustId;
JsonGetBankData.BeginDate = DateTime.Now.AddDays(-2).ToString("yyyyMMdd"); JsonGetBankData.BeginDate = DateTime.Now.AddDays(-3).ToString("yyyyMMdd");
JsonGetBankData.EndDate = DateTime.Now.ToString("yyyyMMdd"); JsonGetBankData.EndDate = DateTime.Now.ToString("yyyyMMdd");
var PCNO = DateTime.Now.ToString("yyyyMMddhhmmss"); var PCNO = DateTime.Now.ToString("yyyyMMddhhmmss");

Loading…
Cancel
Save