`id`,`phone`,`birthdate`,`education`,`sex`,`email`,`address`,`poins`,`tag_id`, `create_date`,`update_date`,`tenant_id`,`name`,`level`,`nick_name` where 1 = 1 and `id` = #{id} and `tenant_id` = #{tenantId} and `phone` like concat('%', #{phone},'%') and `birthdate` = #{birthdate} and `education` like concat('%', #{education},'%') and `sex` = #{sex} and `email` like concat('%', #{email},'%') and `address` like concat('%', #{address},'%') and `poins` = #{poins} and `tag_id` = #{tagId} and `create_date` = #{createDate} and `update_date` = #{updateDate} and `name` like concat('%', #{name},'%') and `create_date` between #{startTime} and #{endTime} and id in #{idItem} order by ${sortColumns} c.`id`,c.`phone`,cb.`birthdate`,cb.`education`,cb.`sex`,cb.`email`,cb.`address`,cb.`poins`,cb.`tag_id`, cb.`create_date`,cb.`update_date`,c.`tenant_id`,cb.`name`,cb.level,cb.nick_name update wx_c_user_basic_info set poins=#{poins} where phone=#{phone} and tenant_id=#{tenantId} and id=#{id} update wx_c_user_basic_info set id=#{newId} where tenant_id=#{tenantId} and id = #{id} cu.`id`,cu.`phone`,cu.`birthdate`,cu.`education`,cu.`sex`,cu.`email`,cu.`address`,cu.`poins`,cu.`tag_id`, cu.`create_date`,cu.`update_date`,cu.`tenant_id`,cu.`name`,cu.`level`,cu.`nick_name`, cut.`tags` where 1 = 1 and cu.`id` = #{id} and cu.`tenant_id` = #{tenantId} and cu.`phone` like concat('%', #{phone},'%') and cu.`birthdate` = #{birthdate} and cu.`education` like concat('%', #{education},'%') and cu.`sex` = #{sex} and cu.`email` like concat('%', #{email},'%') and cu.`address` like concat('%', #{address},'%') and cu.`poins` = #{poins} and cu.`tag_id` = #{tagId} and cu.`create_date` = #{createDate} and cu.`update_date` = #{updateDate} and `name` like concat('%', #{name},'%') and cu.`create_date` between #{startTime} and #{endTime} and id in #{idItem} order by ${sortColumns}