Explorar o código

Merge branch 'zx_online_cbs' of http://git.dayaedu.com/yonge/cooleshow into develop-new

zouxuan hai 1 ano
pai
achega
6c4d6d41bf

+ 3 - 2
cooleshow-user/user-biz/src/main/resources/config/mybatis/MusicSheetMapper.xml

@@ -881,10 +881,11 @@
     </select>
     <select id="personOwnerList"
             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
         <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 test="param.userIdList != null and param.userIdList.size > 0">
             AND su.id_ IN