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