Codex Assistant
2025-10-05 0a48616045ddce1562584543a0e89e5144051fde
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
package com.rongyichuang.tag.repository;
 
import com.rongyichuang.tag.entity.Tag;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
 
import java.util.List;
 
@Repository
public interface TagRepository extends JpaRepository<Tag, Long> {
 
    List<Tag> findByCategory(String category);
 
    List<Tag> findByIdIn(List<Long> ids);
}