辅导员分配宿舍 搜索条件

This commit is contained in:
zhy
2025-10-08 17:26:34 +08:00
parent b2ab8a3795
commit 8b044df4ab

View File

@@ -746,6 +746,7 @@
left join cph_teacher t on cl.teacher_id=t.teacher_id left join cph_teacher t on cl.teacher_id=t.teacher_id
<where> <where>
<if test="BJDM != null">and a.BJDM = #{BJDM}</if> <if test="BJDM != null">and a.BJDM = #{BJDM}</if>
<if test="XB != null">and a.XB = #{XB}</if>
<if test="params.tNo != null">and t.employee_id = #{params.tNo}</if> <if test="params.tNo != null">and t.employee_id = #{params.tNo}</if>
<if test="MZ != null">and a.MZ like concat('%', #{MZ},'%')</if> <if test="MZ != null">and a.MZ like concat('%', #{MZ},'%')</if>
<if test="BJ != null">and a.BJ like concat('%', #{BJ},'%')</if> <if test="BJ != null">and a.BJ like concat('%', #{BJ},'%')</if>