게시판관리 useYn에 상관없이 출력되도록 변경

thkim
유민형 2024-03-07 18:01:27 +09:00
parent 9fd00518a5
commit 4c5567f6ae
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ import java.util.List;
public interface TnBbsRepository extends JpaRepository<TnBbs, Long> {
@Query(value = "SELECT * FROM tn_bbs WHERE use_yn = 'Y' ORDER BY bbs_seq DESC", nativeQuery = true)
@Query(value = "SELECT * FROM tn_bbs ORDER BY bbs_seq DESC", nativeQuery = true)
List<TnBbs> findAllByOrderByBbsSeqDesc();
}