feat: show collaboration record creators
This commit is contained in:
+3
-2
@@ -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 = "新增合作记录")
|
||||
|
||||
Reference in New Issue
Block a user