@@ -60,7 +60,7 @@ public class WmScorePackageExportController {
if(endDate == null) {
// 下月的第一天
- endDate = LocalDate.of(today.getYear() + 1, today.getMonth(), 1);
+ endDate = LocalDate.of(startDate.getYear() + 1, startDate.getMonth(), 1);
}
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));