|
|
@@ -45,7 +45,7 @@ namespace OASystem.API.OAMethodLib.Quartz.Jobs
|
|
|
var now = DateTime.Now;
|
|
|
var lastMonth = now.AddMonths(-1);
|
|
|
var startDate = new DateTime(lastMonth.Year, lastMonth.Month, 1);
|
|
|
- var endDate = new DateTime(lastMonth.Year, lastMonth.Month, DateTime.DaysInMonth(lastMonth.Year, lastMonth.Month), 23, 59, 59);
|
|
|
+ var endDate = new DateTime(now.Year, now.Month, 1);
|
|
|
|
|
|
_logger.LogInformation($"开始生成绩效数据,时间范围:{startDate:yyyy-MM-dd HH:mm:ss} 至 {endDate:yyyy-MM-dd HH:mm:ss}");
|
|
|
|