2 커밋 318f754797 ... f6c48ae5f9

작성자 SHA1 메시지 날짜
  lixuesong f6c48ae5f9 Merge branch 'refs/heads/hotfix-20250827-endtime' into pre 3 주 전
  lixuesong 5be886d0e4 fix: 个人执行包、个人任务明细导出数据结束时间边界问题-考虑开始时间是12月的情况 3 주 전

+ 1 - 1
hnqz-upms/hnqz-upms-biz/src/main/java/com/qunzhixinxi/hnqz/admin/controller/pkg/WmScorePackageExportController.java

@@ -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));

+ 1 - 1
hnqz-upms/hnqz-upms-biz/src/main/java/com/qunzhixinxi/hnqz/admin/controller/task/WmTaskExportController.java

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