From 62eb499b0c969f246d3245d1429a97da4de1ce28 Mon Sep 17 00:00:00 2001
From: 钟日健 <arsn163@163.com>
Date: Mon, 01 Jun 2026 20:46:13 +0800
Subject: [PATCH] feat: 成绩查询增加年龄查询返回
---
src/main/java/org/springblade/modules/exam/service/impl/ScoreAuditRecordsServiceImpl.java | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/main/java/org/springblade/modules/exam/service/impl/ScoreAuditRecordsServiceImpl.java b/src/main/java/org/springblade/modules/exam/service/impl/ScoreAuditRecordsServiceImpl.java
index 49831ac..f82b492 100644
--- a/src/main/java/org/springblade/modules/exam/service/impl/ScoreAuditRecordsServiceImpl.java
+++ b/src/main/java/org/springblade/modules/exam/service/impl/ScoreAuditRecordsServiceImpl.java
@@ -115,7 +115,7 @@
//3.修改考试理论成绩
examScore.setTheoryGrade(auditRecords.getNewScore());
//查询用户年龄
- UserVO userVO = userService.getUserAgeById(Long.parseLong(examScore.getUserId()));
+ UserVO userVO = userService.getUserAgeById(examScore.getUserId());
//判断实操成绩是否为空
if (null == examScore.getLearnGrade()) {
//如果为空,之间修改理论成绩和总成绩
@@ -261,7 +261,7 @@
//3.修改考试理论成绩
examScore.setTheoryGrade(records.getNewScore());
//查询用户年龄
- UserVO userVO = userService.getUserAgeById(Long.parseLong(examScore.getUserId()));
+ UserVO userVO = userService.getUserAgeById(examScore.getUserId());
//判断实操成绩是否为空
if (null == examScore.getLearnGrade()) {
//如果为空,之间修改理论成绩和总成绩
--
Gitblit v1.9.3