<if test="searchKey != null and searchKey != '' ">
and (u.realname like concat('%', #{searchKey}, '%') or u.id_card like concat('%', #{searchKey}, '%') or g.goods_name like concat('%', #{searchKey}, '%') or cg.class_name like concat('%', #{searchKey}, '%'))
</if>
+ <if test="idCard != null and idCard !='' ">
+ AND u.id_card = #{idCard,typeHandler=com.zhongzheng.common.type.EncryptHandler}
+ </if>
<if test="searchStartTime != null and searchStartTime !='' ">