|
|
@ -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")
|
|
|
|
{
|
|
|
|
{
|
|
|
@ -14170,7 +14166,6 @@ namespace DSWeb.MvcShipping.DAL.MsOpSeaeEdiPortDAL
|
|
|
|
#endregion
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|