From 3714621173c606c4c58439ed8941100ce9ddea14 Mon Sep 17 00:00:00 2001
From: Codex Assistant <codex@example.com>
Date: 星期三, 05 十一月 2025 15:10:49 +0800
Subject: [PATCH] bug
---
backend/src/main/resources/graphql/employee.graphqls | 32 ++++++++++++++++++++++++++++++++
1 files changed, 32 insertions(+), 0 deletions(-)
diff --git a/backend/src/main/resources/graphql/employee.graphqls b/backend/src/main/resources/graphql/employee.graphqls
index 78727ab..621d614 100644
--- a/backend/src/main/resources/graphql/employee.graphqls
+++ b/backend/src/main/resources/graphql/employee.graphqls
@@ -26,6 +26,32 @@
# Spring Data鐨凱age瀵硅薄浼氳嚜鍔ㄦ槧灏勫埌GraphQL
# 鎵╁睍鏌ヨ绫诲瀷
+
+
+type EmployeeReviewApplication {
+ id: Long!
+ playerName: String
+ projectName: String
+ activityName: String
+ state: Int
+ stateText: String
+ stateType: String
+ applyTime: String
+}
+
+type EmployeeReviewPage {
+ content: [EmployeeReviewApplication!]!
+ totalElements: Int!
+ page: Int!
+ size: Int!
+}
+
+type EmployeeReviewStats {
+ pendingCount: Int!
+ approvedCount: Int!
+ rejectedCount: Int!
+}
+
extend type Query {
# 鑾峰彇鎵�鏈夊憳宸ュ垪琛�
employees: [EmployeeResponse!]!
@@ -35,6 +61,12 @@
# 鏍规嵁ID鑾峰彇鍛樺伐璇︽儏
employee(id: Long!): EmployeeResponse
+
+ # 鍛樺伐瀹℃牳缁熻
+ employeeReviewStats(keyword: String): EmployeeReviewStats!
+
+ # 鍛樺伐瀹℃牳鍒楄〃
+ employeeReviewApplications(keyword: String, state: Int, page: Int, size: Int): EmployeeReviewPage!
}
# 鎵╁睍鍙樻洿绫诲瀷
--
Gitblit v1.8.0