|
@@ -83,6 +83,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
|
|
WHERE
|
|
WHERE
|
|
1 =1
|
|
1 =1
|
|
|
|
+ <if test="searchKey != null and searchKey != '' ">
|
|
|
|
+ and (u.realname like concat('%', #{searchKey}, '%') or u.id_card like concat('%', #{searchKey}, '%'))
|
|
|
|
+ </if>
|
|
<if test="idCards != null and idCards.size()!=0 ">
|
|
<if test="idCards != null and idCards.size()!=0 ">
|
|
AND u.id_card in
|
|
AND u.id_card in
|
|
<foreach collection="idCards" item="item" index="index" open="(" close=")" separator=",">
|
|
<foreach collection="idCards" item="item" index="index" open="(" close=")" separator=",">
|