From b0be631d7800b2a35c4dfeb9332877946e361829 Mon Sep 17 00:00:00 2001
From: “djh” <“3298565835@qq.com”>
Date: Tue, 28 Apr 2026 17:18:56 +0800
Subject: [PATCH] 新增功能
---
multi-system/src/main/resources/mapper/system/TrainPlanMapper.xml | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/multi-system/src/main/resources/mapper/system/TrainPlanMapper.xml b/multi-system/src/main/resources/mapper/system/TrainPlanMapper.xml
index 2d7f146..254b666 100644
--- a/multi-system/src/main/resources/mapper/system/TrainPlanMapper.xml
+++ b/multi-system/src/main/resources/mapper/system/TrainPlanMapper.xml
@@ -30,6 +30,9 @@
<if test="companyId!=null">
and tp.company_id = #{companyId}
</if>
+ <if test="trainTime != null and trainTime != ''">
+ and YEAR(tp.train_time) = #{trainTime}
+ </if>
ORDER BY tp.create_time ASC
</select>
<select id="selectByCompanyId" resultType="com.gkhy.exam.system.domain.TrainPlan">
--
Gitblit v1.9.2