<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 g.code like concat('%', #{searchKey}, '%'))
</if>
+ <if test="searchStartTime != null and searchStartTime !='' ">
+ AND cgu.create_time >=#{searchStartTime}
+ </if>
+ <if test="searchEndTime != null and searchEndTime !='' ">