修改一版
parent
5e50ad1d7e
commit
f17bc98345
Binary file not shown.
|
@ -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<string>(){
|
||||
"./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");
|
||||
|
||||
|
|
Loading…
Reference in New Issue