From afeeed281e60466b576fbe74d339634cc5d07b82 Mon Sep 17 00:00:00 2001
From: Codex Assistant <codex@example.com>
Date: 星期三, 08 十月 2025 08:56:42 +0800
Subject: [PATCH] 修复评审功能和用户认证问题

---
 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