<%_ if (position === 'import') { _%>
    <%_ if (databaseTypeMongodb) { _%>
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import <%= packageName %>.domain.enumeration.AnnoCategory;
    <%_ } _%>
<%_ } _%>
<%_ if (position === 'method') { _%>
    <%_ if (databaseTypeMongodb) { _%>

    Page<Announcement> findAllByCategoryAndIdIn(AnnoCategory category, List<String> ids, Pageable page);
    <%_ } _%>
<%_ } _%>
