|
|
@ -556,7 +556,7 @@ namespace DSWeb.MvcShipping.DAL.MsOpSeaeEdiPortDAL
|
|
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
|
|
#region EDI导出
|
|
|
|
|
|
|
|
#region 基础函数
|
|
|
|
#region 基础函数
|
|
|
|
public static DBResult FtpFile(string filename, CodeFtpSet ftpset, bool removefile = false)
|
|
|
|
public static DBResult FtpFile(string filename, CodeFtpSet ftpset, bool removefile = false)
|
|
|
|
{
|
|
|
|
{
|
|
|
@ -1895,7 +1895,7 @@ namespace DSWeb.MvcShipping.DAL.MsOpSeaeEdiPortDAL
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else if (type == "CMAEDI")
|
|
|
|
else if (type == "CMAEDI")
|
|
|
|
{
|
|
|
|
{
|
|
|
|
error = IsCreateCMA(headData,filetype, filerole, isbill, carrier,0,"","");
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else if (type == "ESLEDI")
|
|
|
|
else if (type == "ESLEDI")
|
|
|
|
{
|
|
|
|
{
|
|
|
@ -1965,10 +1965,6 @@ namespace DSWeb.MvcShipping.DAL.MsOpSeaeEdiPortDAL
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else if (type == "CMAEDI")
|
|
|
|
else if (type == "CMAEDI")
|
|
|
|
{
|
|
|
|
{
|
|
|
|
if (filetype=="E")
|
|
|
|
|
|
|
|
result = CreateEdiCMASI(headData, usercode, path, mblno, filerole, ftpset, isbill,"CMA", filetype);
|
|
|
|
|
|
|
|
else
|
|
|
|
|
|
|
|
result = CreateEdiCMA(headData, usercode, path, mblno, filerole, ftpset,isbill,"CMA", filetype,0,"","");
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else if (type == "ESLEDI")
|
|
|
|
else if (type == "ESLEDI")
|
|
|
|
{
|
|
|
|
{
|
|
|
@ -14175,7 +14171,6 @@ namespace DSWeb.MvcShipping.DAL.MsOpSeaeEdiPortDAL
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#region 捷丰场站
|
|
|
|
#region 捷丰场站
|
|
|
|
|
|
|
|
|
|
|
|
public static string IsCreateEdiJFYARD(List<MsOpSeae> headData, string type, string filerole, int isbill)
|
|
|
|
public static string IsCreateEdiJFYARD(List<MsOpSeae> headData, string type, string filerole, int isbill)
|
|
|
|