wangzelong
2022-11-30 ebe14c5eb181f60f3380ba9389bc170e5c395f6a
Application/IStation.Application.DataFile/eta_month_report/Eta_Month_Report_Controller.cs
@@ -68,7 +68,7 @@
            }
            var pdf = new Eta_Month_ReportPdf();
            var ReportPath = Path.Combine(ConfigHelper.DataPath, Settings.DataFile.PdfFolder);
            var ReportPath = Path.Combine(ConfigHelper.DataPath, @"Report");
            if (!Directory.Exists(ReportPath))
                Directory.CreateDirectory(ReportPath);
            LogHelper.Info("已创建根目录");
@@ -89,8 +89,8 @@
            var etaPdfFilePath = Path.Combine(pdfPath, etaPdfFileName);
            LogHelper.Info("已拼接最终文件路径");
            var turePath = Path.Combine("/" + Settings.DataFile.PdfFolder, EtaPathName, dateTimePathName, etaPdfFileName);
            turePath = turePath.Replace("\\", "/");
            var turePath = Path.Combine(@"Report", EtaPathName, dateTimePathName, etaPdfFileName);
            turePath = turePath.Replace(@"\\", @"/");
            LogHelper.Info("已拼接最终返回路径");
            if (!File.Exists(etaPdfFilePath))