lyhzzz il y a 9 mois
Parent
commit
66a8442130
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2 2
      src/main/resources/mapper/manage/JyUserPlatformMapper.xml

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

@@ -30,12 +30,12 @@
 
     </select>
     <select id="queryByKey" resultType="com.fdkankan.manage.vo.JyUserPlatform">
-        select  id,id_card,ry_nick_name as name ,phone,platform_id,status,create_time from  jy_user where rec_status = 'A'
+        select  id,id_card,ry_nick_name as name ,phone,platform_id,status,create_time from  jy_user where rec_status = 'A' and status = 1
         <if test="queryKey != null and queryKey !=''">
             and ( ry_nick_name = #{queryKey} or phone = #{queryKey} or id_card = #{queryKey}  )
         </if>
         <if test="noInIds != null and noInIds.size >0">
-            and  id_card not in
+            and id_card is null or  id_card not in
             <foreach collection="noInIds" item="idCard" open="(" close=")" separator=",">
                 #{idCard}
             </foreach>