Browse Source

场景列表平台数据隔离

lyhzzz 9 months ago
parent
commit
dc6b58544a
1 changed files with 1 additions and 1 deletions
  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