feat: show collaboration record creators

This commit is contained in:
gin
2026-05-27 20:29:27 +08:00
parent d26a012edb
commit 98eae63435
9 changed files with 203 additions and 43 deletions
@@ -70,8 +70,9 @@ public class CollaborationRecordController extends BaseController {
@Operation(summary = "合作记录月度统计")
@PreAuthorize("@permission.has('collaboration:record:statistics')")
@GetMapping("/monthly-statistics")
public ResponseDTO<List<CollaborationMonthlyStatisticsDTO>> monthlyStatistics(@RequestParam Integer year) {
return ResponseDTO.ok(recordApplicationService.getMonthlyStatistics(year));
public ResponseDTO<List<CollaborationMonthlyStatisticsDTO>> monthlyStatistics(
@RequestParam Integer year, @RequestParam(required = false) Long creatorId) {
return ResponseDTO.ok(recordApplicationService.getMonthlyStatistics(year, creatorId));
}
@Operation(summary = "新增合作记录")