Просмотр исходного кода

场景列表平台数据隔离

lyhzzz 9 месяцев назад
Родитель
Сommit
dc6b58544a
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/main/resources/mapper/manage/JyUserPlatformMapper.xml

+ 1 - 1
src/main/resources/mapper/manage/JyUserPlatformMapper.xml

@@ -27,7 +27,7 @@
     <select id="queryByKey" resultType="com.fdkankan.manage.entity.JyUserPlatform">
         select  * from  jy_user where rec_status = 'A'
         <if test="queryKey != null and queryKey !=''">
-            and ( name = #{queryKey} or phone = #{queryKey} or id_card = #{queryKey}  )
+            and ( nick_name = #{queryKey} or phone = #{queryKey} or id_card = #{queryKey}  )
         </if>
         <if test="noInIds != null and noInIds.size >0">
             and  id_card not in