yonge 3 年之前
父节点
当前提交
068f37e688
共有 1 个文件被更改,包括 8 次插入8 次删除
  1. 8 8
      mec-biz/src/main/resources/config/mybatis/StudentPreRegistrationMapper.xml

+ 8 - 8
mec-biz/src/main/resources/config/mybatis/StudentPreRegistrationMapper.xml

@@ -177,11 +177,11 @@
             <if test="subjectId != null">
                 and (spr.subject_first_ = #{subjectId} or spr.subject_second_ = #{subjectId})
             </if>
-            <if test="teacherRecommandSubjectName != null">
-                and (spr.teacher_recommand_subject_id_ = #{teacherRecommandSubjectName})
+            <if test="teacherRecommandSubjectId != null">
+                and (spr.teacher_recommand_subject_id_ = #{teacherRecommandSubjectId})
             </if>
-            <if test="selectionSubjectName != null">
-                and (spr.selection_subject_id_ = #{selectionSubjectName})
+            <if test="selectionSubjectId != null">
+                and (spr.selection_subject_id_ = #{selectionSubjectId})
             </if>
             <if test="name != null">
                 and (spr.phone_ like concat('%',#{name},'%') or spr.user_name_ like concat('%',#{name},'%') or
@@ -214,11 +214,11 @@
             <if test="subjectId != null">
                 and (spr.subject_first_ = #{subjectId} or spr.subject_second_ = #{subjectId})
             </if>
-            <if test="teacherRecommandSubjectName != null">
-                and (spr.teacher_recommand_subject_id_ = #{teacherRecommandSubjectName})
+            <if test="teacherRecommandSubjectId != null">
+                and (spr.teacher_recommand_subject_id_ = #{teacherRecommandSubjectId})
             </if>
-            <if test="selectionSubjectName != null">
-                and (spr.selection_subject_id_ = #{selectionSubjectName})
+            <if test="selectionSubjectId != null">
+                and (spr.selection_subject_id_ = #{selectionSubjectId})
             </if>
             <if test="name != null">
                 and (spr.phone_ like concat('%',#{name},'%') or spr.user_name_ like concat('%',#{name},'%') or