From 9abc6588d464269024d3e680b98cfd71e2acc84e Mon Sep 17 00:00:00 2001
From: “djh” <“3298565835@qq.com”>
Date: Wed, 29 Apr 2026 13:14:15 +0800
Subject: [PATCH] 新增修改部分限制
---
multi-system/src/main/resources/mapper/system/ExExamRecordMapper.xml | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/multi-system/src/main/resources/mapper/system/ExExamRecordMapper.xml b/multi-system/src/main/resources/mapper/system/ExExamRecordMapper.xml
index 415f199..d99142e 100644
--- a/multi-system/src/main/resources/mapper/system/ExExamRecordMapper.xml
+++ b/multi-system/src/main/resources/mapper/system/ExExamRecordMapper.xml
@@ -29,7 +29,7 @@
</resultMap>
<sql id="selectExamRecordVo">
- select a.id, a.company_id, a.student_id, a.plan_name, a.course_name,a.level,a.period,a.actual_period,a.score,
+ select a.id, a.company_id, a.student_id, a.plan_name, a.course_name,a.level,a.plan_date,a.period,a.actual_period,a.score,
a.passed, a.create_by, a.create_time, a.update_by, a.update_time, a.remark,b.name as company_name
from ex_exam_record a
left join sys_company b on b.id=a.company_id
@@ -58,6 +58,9 @@
<if test="companyId!=null">
and a.company_id = #{companyId}
</if>
+ <if test="planYear != null and planYear != ''">
+ AND YEAR(a.plan_date) = #{planYear}
+ </if>
</where>
order by a.id desc
</select>
--
Gitblit v1.9.2