修改班会材料搜索

This commit is contained in:
2026-01-05 15:21:39 +08:00
parent cdaffb0adb
commit 179783c2b9
5 changed files with 147 additions and 80 deletions

View File

@@ -55,6 +55,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
LEFT JOIN
srs_class sc ON rm.cr_class_no = sc.class_id
LEFT JOIN
srs_majors sm ON sc.major_id = sm.major_id
LEFT JOIN
sys_user u ON rm.cr_teacher_no = u.user_name
</sql>
@@ -65,6 +67,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="crCmNo != null and crCmNo != ''"> and rm.cr_cm_no = #{crCmNo}</if>
<if test="crCmTitle != null and crCmTitle != ''"> and mt.cm_title like concat('%',#{crCmTitle},'%')</if>
<if test="crDepartmentNo != null and crDepartmentNo != ''"> and rm.cr_department_no = #{crDepartmentNo}</if>
<if test="deptId != null"> and sm.college_id = #{deptId}</if>
<if test="crMajorNo != null and crMajorNo != ''"> and rm.cr_major_no = #{crMajorNo}</if>
<if test="crClassNo != null and crClassNo != ''"> and rm.cr_class_no = #{crClassNo}</if>
<if test="crTeacherNo != null and crTeacherNo != ''"> and rm.cr_teacher_no = #{crTeacherNo}</if>