|
@@ -881,10 +881,11 @@
|
|
</select>
|
|
</select>
|
|
<select id="personOwnerList"
|
|
<select id="personOwnerList"
|
|
resultType="com.dayaedu.cbs.openfeign.wrapper.music.CbsMusicSheetExtendWrapper$MusicSheetExtend">
|
|
resultType="com.dayaedu.cbs.openfeign.wrapper.music.CbsMusicSheetExtendWrapper$MusicSheetExtend">
|
|
- select su.id_ userId,su.real_name_ username,'TEACHER' clientType,su.phone_ phone from sys_user su
|
|
|
|
|
|
+ select su.id_ userId,su.username_ username
|
|
|
|
+ ,'TEACHER' clientType,su.phone_ phone from sys_user su
|
|
where su.user_type_ LIKE '%TEACHER%' AND su.del_flag_ = 0
|
|
where su.user_type_ LIKE '%TEACHER%' AND su.del_flag_ = 0
|
|
<if test="param.name != null and param.name != ''">
|
|
<if test="param.name != null and param.name != ''">
|
|
- AND (su.phone_ LIKE CONCAT('%',#{param.name},'%') OR su.real_name_ LIKE CONCAT('%',#{param.name},'%'))
|
|
|
|
|
|
+ AND (su.phone_ LIKE CONCAT('%',#{param.name},'%') OR su.username_ LIKE CONCAT('%',#{param.name},'%'))
|
|
</if>
|
|
</if>
|
|
<if test="param.userIdList != null and param.userIdList.size > 0">
|
|
<if test="param.userIdList != null and param.userIdList.size > 0">
|
|
AND su.id_ IN
|
|
AND su.id_ IN
|