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