|
@@ -177,6 +177,12 @@
|
|
|
<if test="subjectId != null">
|
|
|
and (spr.subject_first_ = #{subjectId} or spr.subject_second_ = #{subjectId})
|
|
|
</if>
|
|
|
+ <if test="teacherRecommandSubjectId != null">
|
|
|
+ and (spr.teacher_recommand_subject_id_ = #{teacherRecommandSubjectId})
|
|
|
+ </if>
|
|
|
+ <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
|
|
|
spr.user_id_ like concat('%',#{name},'%'))
|
|
@@ -208,6 +214,12 @@
|
|
|
<if test="subjectId != null">
|
|
|
and (spr.subject_first_ = #{subjectId} or spr.subject_second_ = #{subjectId})
|
|
|
</if>
|
|
|
+ <if test="teacherRecommandSubjectId != null">
|
|
|
+ and (spr.teacher_recommand_subject_id_ = #{teacherRecommandSubjectId})
|
|
|
+ </if>
|
|
|
+ <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
|
|
|
spr.user_id_ like concat('%',#{name},'%'))
|