diff --git a/IRaCIS.Core.API/wwwroot/Template/Payment Summary.xlsx b/IRaCIS.Core.API/wwwroot/Template/Payment Summary.xlsx index c531d37..453243d 100644 Binary files a/IRaCIS.Core.API/wwwroot/Template/Payment Summary.xlsx and b/IRaCIS.Core.API/wwwroot/Template/Payment Summary.xlsx differ diff --git a/IRaCIS.Core.Application/Financial/FinancialService.cs b/IRaCIS.Core.Application/Financial/FinancialService.cs index 799332d..3e287d3 100644 --- a/IRaCIS.Core.Application/Financial/FinancialService.cs +++ b/IRaCIS.Core.Application/Financial/FinancialService.cs @@ -1229,10 +1229,7 @@ namespace IRaCIS.Application.Services } - if (!System.IO.Directory.Exists("./file/Summary")) - { - System.IO.Directory.CreateDirectory("./file/Summary"); - } + if (!System.IO.Directory.Exists("./Zip")) { @@ -1254,7 +1251,7 @@ namespace IRaCIS.Application.Services var deletepaths =new List(){ - "./file/Direct","./file/云账户" ,"./file/Summary","./file" + "./file/Direct","./file/云账户" ,"./file" }; @@ -1367,7 +1364,7 @@ namespace IRaCIS.Application.Services ExchangeRate = _exchangeRateService.GetExchangeRateByMonth(inDto.YearMonth) }; - MiniExcel.SaveAsByTemplate($"./file/Summary/Payroll Summary_{inDto.YearMonth}.xlsx", summaryPaymentPath, summaryPaymentData); + MiniExcel.SaveAsByTemplate($"./file/Payroll Summary_{inDto.YearMonth}.xlsx", summaryPaymentPath, summaryPaymentData); ZipFile.CreateFromDirectory("./file", "Zip/Payroll.zip");