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/ExPhaseStudentMapper.xml |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/multi-system/src/main/resources/mapper/system/ExPhaseStudentMapper.xml b/multi-system/src/main/resources/mapper/system/ExPhaseStudentMapper.xml
index af249de..180dc2f 100644
--- a/multi-system/src/main/resources/mapper/system/ExPhaseStudentMapper.xml
+++ b/multi-system/src/main/resources/mapper/system/ExPhaseStudentMapper.xml
@@ -66,7 +66,7 @@
                 and b.phone like concat('%',#{studentPhone},'%')
             </if>
             <if test="studentId!=null">
-                and a.student_id=#{studentId}
+                and a.student_id=#{studentId} and (d.stop_time is null or d.stop_time > now())
             </if>
         </where>
         order by a.id desc

--
Gitblit v1.9.2