From 0f3ede574144fcee03a781ad221193cf35903eab Mon Sep 17 00:00:00 2001 From: zj Date: Fri, 14 Aug 2026 15:07:37 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E6=8C=89=E5=B9=B4=E4=BB=BD?= =?UTF-8?q?=E7=BB=9F=E8=AE=A1=E8=AF=95=E5=8D=B7=E6=95=B0=E9=87=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/ExamService/PaperInterface.php | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/ExamService/PaperInterface.php b/src/ExamService/PaperInterface.php index b95a85e..32eda26 100644 --- a/src/ExamService/PaperInterface.php +++ b/src/ExamService/PaperInterface.php @@ -57,4 +57,13 @@ interface PaperInterface * 获取试卷的题目列表 */ public function getPaperQuestionList(int $paperId, bool $getCorrect = false, string $platform = 'admin'): array; + + /** + * 按年份统计试卷数量 + * @param int $paperType 试卷类型 + * @param int $campusId 校区ID + * @param int $examTypeId 考试类型ID + * @return array 统计结果 + */ + public function getPaperTotalByYear(int $paperType, int $campusId, int $examTypeId): array; }