Esempio n. 1
0
        /// <summary>
        /// 海关商检反馈信息
        /// </summary>
        /// <returns></returns>
        public override string[] GetCustomsOutResult(Hyt.Model.WorkflowStatus.OrderStatus.商检反馈报文类型 type)
        {
            FtpUtil ftp = new FtpUtil(config.NSIcpInfo.FtpUrl, config.NSIcpInfo.FtpName, config.NSIcpInfo.FtpPassword);

            string[] inflist = null;
            switch (type)
            {
            case Hyt.Model.WorkflowStatus.OrderStatus.商检反馈报文类型.商品检查:
                inflist = ftp.GetFileList(config.NSIcpInfo.FtpUrl + "4200.IMPBA.SWBCARGOBACK.REPORT/out");
                break;

            case Hyt.Model.WorkflowStatus.OrderStatus.商检反馈报文类型.商品订单:
                inflist = ftp.GetFileList(config.NSIcpInfo.FtpUrl + "4200.IMPBA.SWBEBTRADE.REPORT/out");
                break;

            case Hyt.Model.WorkflowStatus.OrderStatus.商检反馈报文类型.商品审核报文:
                inflist = ftp.GetFileList(config.NSIcpInfo.FtpUrl + "4200.IMPBA.SWBCARGOBACK.AUDIT/out");
                break;
            }
            return(inflist);
        }
Esempio n. 2
0
 public virtual string DownResultFileData(Hyt.Model.WorkflowStatus.OrderStatus.商检反馈报文类型 type, string dir, string filePath)
 {
     return("");
 }
Esempio n. 3
0
 public virtual string[] GetCustomsOutResult(Hyt.Model.WorkflowStatus.OrderStatus.商检反馈报文类型 type)
 {
     return(new string[] { "" });
 }