|
@@ -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
|