From 65c6651f36f292674ad5f3966937dd22e5968326 Mon Sep 17 00:00:00 2001
From: 龚焕茏 <2842157468@qq.com>
Date: 星期二, 16 七月 2024 09:07:35 +0800
Subject: [PATCH] feat:补考保留最高分

---
 src/main/java/com/mindskip/xzs/service/impl/ExamPaperServiceImpl.java |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/main/java/com/mindskip/xzs/service/impl/ExamPaperServiceImpl.java b/src/main/java/com/mindskip/xzs/service/impl/ExamPaperServiceImpl.java
index 7049976..f0145f1 100644
--- a/src/main/java/com/mindskip/xzs/service/impl/ExamPaperServiceImpl.java
+++ b/src/main/java/com/mindskip/xzs/service/impl/ExamPaperServiceImpl.java
@@ -271,6 +271,7 @@
             if(userDepartments.size() != 0){
                 Department byId = departmentService.getById(userDepartments.get(0).getDepartmentId());
                 e.setDepartmentName(byId.getName());
+                e.setDeptId(byId.getId());
             }
             return e;
         }).collect(Collectors.toList());

--
Gitblit v1.8.0