@@ -59,8 +59,8 @@ public class WmScorePackageExportController {
}
if(endDate == null) {
- // 当月的最后一天
- endDate = LocalDate.of(startDate.getYear(), startDate.getMonth(), startDate.lengthOfMonth());
+ // 下月的第一天
+ endDate = LocalDate.of(today.getYear() + 1, today.getMonth(), 1);
return R.ok(scorePackageExportService.asyncExport(user, roles, startDate, endDate));
@@ -59,8 +59,8 @@ public class WmTaskExportController {
return R.ok(taskDetailExportService.asyncExport(user, roles, startDate, endDate));