|
@@ -386,7 +386,7 @@
|
|
|
<sql id="queryMusicGroupStudentSql">
|
|
|
<where>
|
|
|
<if test="search != null and search != ''">
|
|
|
- AND (su.username_ like CONCAT("%",#{search},"%") OR su.phone_ like CONCAT("%",#{search},"%"))
|
|
|
+ AND (su.id_ = #{search} OR su.username_ like CONCAT("%",#{search},"%") OR su.phone_ like CONCAT("%",#{search},"%"))
|
|
|
</if>
|
|
|
<if test="subjectId != null">
|
|
|
AND sr.actual_subject_id_ = #{subjectId}
|