-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: 5uhwann <[email protected]> Co-authored-by: MinsuKim <[email protected]>
- Loading branch information
1 parent
9cf7a62
commit bc1bae1
Showing
19 changed files
with
270 additions
and
188 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
--- | ||
name: Bug report(버그 수정 템플릿) | ||
about: 버그 제보 관련 템플릿 | ||
title: '' | ||
labels: '' | ||
assignees: '' | ||
--- | ||
|
||
## 버그 사항 | ||
버그 내용을 상세하게 적어주세요! | ||
<!-- 버그를 발견하기 위한 순서가 있다면, 함께 기록해주세요. --> | ||
|
||
## 기대했던 상황 | ||
원했던 상황을 자세하게 적어주세요 😊 | ||
|
||
|
||
## **Screenshots** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
--- | ||
name: Default Issue | ||
about: 기본 양식 | ||
title: '' | ||
labels: '' | ||
assignees: '' | ||
--- | ||
|
||
## ❓ 어떤 이슈인가요? | ||
|
||
|
||
## ✅ 투두리스트 | ||
|
||
- [ ] item | ||
- [ ] item |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
## 🔥 연관 이슈 | ||
|
||
- close #이슈번호 | ||
|
||
## 🚀 작업 내용 | ||
|
||
|
||
## 🤔 고민했던 내용 | ||
|
||
|
||
## 💬 리뷰 중점사항 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
src/main/java/ddingdong/ddingdongBE/domain/club/entity/RecruitmentStatus.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
package ddingdong.ddingdongBE.domain.club.entity; | ||
|
||
import lombok.Getter; | ||
import lombok.RequiredArgsConstructor; | ||
|
||
@Getter | ||
@RequiredArgsConstructor | ||
public enum RecruitmentStatus { | ||
|
||
BEFORE_RECRUIT("모집 예정"), | ||
RECRUITING("모집 중"), | ||
END_RECRUIT("모집 마감"); | ||
|
||
private final String text; | ||
} |
13 changes: 12 additions & 1 deletion
13
src/main/java/ddingdong/ddingdongBE/domain/club/repository/ClubMemberRepository.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,19 @@ | ||
package ddingdong.ddingdongBE.domain.club.repository; | ||
|
||
import ddingdong.ddingdongBE.domain.club.entity.ClubMember; | ||
|
||
import java.util.List; | ||
|
||
import org.springframework.data.jpa.repository.JpaRepository; | ||
import org.springframework.data.jpa.repository.Modifying; | ||
import org.springframework.data.jpa.repository.Query; | ||
import org.springframework.transaction.annotation.Transactional; | ||
|
||
public interface ClubMemberRepository extends JpaRepository<ClubMember, Long> { | ||
List<ClubMember> findClubMembersByClubId(Long clubId); | ||
|
||
} | ||
@Modifying | ||
@Transactional | ||
@Query("delete from ClubMember c where c.id in :memberIds") | ||
void deleteAllById(List<Long> memberIds); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.