学员、教师查询条件完善

This commit is contained in:
buliping committed 2026-09-29 15:44:34 +08:00
1 parent 973cc0e7e3
commit 1162f26e7d
3 files changed
+30 -9

No files matched your search

@@ -43,6 +43,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="tPhone != null and tPhone != ''"> and t_phone like concat('%', #{tPhone}, '%')</if>
<if test="tEmail != null and tEmail != ''"> and t_email = #{tEmail}</if>
<if test="status != null"> and status = #{status}</if>
<if test="major != null and major != ''"> and major like concat('%', #{major}, '%')</if>
<if test="courses != null and courses != ''"> and courses like concat('%', #{courses}, '%')</if>
</where>
order by create_time desc
</select>