Преглед на файлове

场景列表平台数据隔离

lyhzzz преди 9 месеца
родител
ревизия
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