Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feat] 배너를 업로드하고 반환하는 기능을 추가했어요. #181

Merged
merged 17 commits into from
Nov 14, 2024

Conversation

sanghee0820
Copy link
Contributor

✨ 작업 내용

  • 배너 Admin페이지를 추가했어요
  • 배너 반환 API를 추가해썽요

✨ 참고 사항


⏰ 현재 버그


✏ Git Close

@sanghee0820 sanghee0820 added the ✨ Feature 기능 개발 label Nov 14, 2024
@sanghee0820 sanghee0820 self-assigned this Nov 14, 2024
Comment on lines +14 to +17
@NoArgsConstructor(access = AccessLevel.PROTECTED)
public class Banner {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

static import


@Repository
public interface BannerRepository extends JpaRepository<Banner, Long> {
@Query("SELECT l FROM Banner l WHERE l.startDate <= :now AND l.endDate >= :now or l.isFixed = true")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

or도 대문자 하시죠

@sanghee0820 sanghee0820 merged commit 82488ac into weekly/11 Nov 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨ Feature 기능 개발
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants