@@ -60,7 +60,7 @@ public class WmScorePackageExportController {
if(endDate == null) {
// 下月的第一天
- endDate = LocalDate.of(startDate.getYear(), startDate.getMonthValue() + 1, 1);
+ endDate = startDate.plusMonths(1L);
}
return R.ok(scorePackageExportService.asyncExport(user, roles, startDate, endDate));
@@ -60,7 +60,7 @@ public class WmTaskExportController {
return R.ok(taskDetailExportService.asyncExport(user, roles, startDate, endDate));