|
@@ -544,9 +544,6 @@
|
|
|
<if test="search != null">
|
|
|
AND (su.username_ LIKE CONCAT('%', #{search}, '%') OR su.phone_ LIKE CONCAT('%', #{search}, '%'))
|
|
|
</if>
|
|
|
- AND su.id_ NOT IN (
|
|
|
- SELECT DISTINCT pg.student_id_ FROM course_schedule_student_payment cssp LEFT JOIN practice_group pg ON pg.id_=cssp.music_group_id_ WHERE cssp.group_type_='PRACTICE' AND pg.type_ = 'CHARGE'
|
|
|
- )
|
|
|
ORDER BY su.id_
|
|
|
<include refid="global.limit"/>
|
|
|
</select>
|
|
@@ -567,9 +564,6 @@
|
|
|
<if test="search != null">
|
|
|
AND (su.username_ LIKE CONCAT('%', #{search}, '%') OR su.phone_ LIKE CONCAT('%', #{search}, '%'))
|
|
|
</if>
|
|
|
- AND su.id_ NOT IN (
|
|
|
- SELECT DISTINCT pg.student_id_ FROM course_schedule_student_payment cssp LEFT JOIN practice_group pg ON pg.id_=cssp.music_group_id_ WHERE cssp.group_type_='PRACTICE' AND pg.type_ = 'CHARGE'
|
|
|
- )
|
|
|
</select>
|
|
|
<select id="findEnableAssignTeachers" resultType="com.ym.mec.biz.dal.dto.SimpleUserDto">
|
|
|
SELECT su.id_ userId,su.username_ userName,su.avatar_ avatar
|