|
@@ -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>
|