`id`,`tenant_id`,`parent_tenant_id`,`principal_type`,`name`,`phone`,`legal_person`,`id_number`,`sex`, `link_person`,`create_date`,`update_date`,`status` where 1=1 and `id` = #{id} and `tenant_id` = #{tenantId} and `parent_tenant_id` = #{parentTenantId} and `principal_type` = #{principalType} and `name` like concat('%', #{name},'%') and `name` = #{nameEqal} and `phone` like concat('%', #{phone},'%') and `phone` = #{phoneEqal} and `status` = #{status} and id in #{idItem} order by ${sortColumns}