|
@@ -467,6 +467,14 @@
|
|
|
|
|
|
<sql id="queryMusicGroupStudentSql">
|
|
|
<where>
|
|
|
+ <if test="hasMember != null">
|
|
|
+ <if test="hasMember == 0">
|
|
|
+ AND s.member_rank_setting_id_ IS NULL
|
|
|
+ </if>
|
|
|
+ <if test="hasMember == 1">
|
|
|
+ AND s.member_rank_setting_id_ IS NOT NULL
|
|
|
+ </if>
|
|
|
+ </if>
|
|
|
<if test="search != null and search != ''">
|
|
|
AND (su.id_ = #{search} OR su.username_ LIKE CONCAT("%",#{search},"%") OR su.phone_ LIKE CONCAT("%",#{search},"%"))
|
|
|
</if>
|