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: app be를 위한 스터디 수 조회 API 구현 #489

Merged
merged 15 commits into from
Nov 21, 2024
Merged
Changes from 1 commit
Commits
Show all changes
15 commits
Select commit Hold shift + click to select a range
d5a6981
feat(InternalMeetingStatsController): orgId로 참여한 스터디 개수를 반환하는 API 구현
hoonyworld Nov 17, 2024
5962e01
feat(ApprovedStudyCountResponseDto): 플그 id와 승인된 스터디 수를 반환하는 DTO 구현
hoonyworld Nov 17, 2024
fe9efef
feat(InternalMeetingStatsService): orgId로 승인된 스터디 개수 조회 기능 추가
hoonyworld Nov 17, 2024
ed906fe
feat(ApprovedStudyCountProjection): orgId와 approvedStudyCount를 반환하는 프…
hoonyworld Nov 17, 2024
f4a5ee6
feat(ApplyRepository): orgId를 기준으로 승인된 스터디 수 조회 쿼리 구현
hoonyworld Nov 17, 2024
852701c
feat(InternalMeetingStatsApi): 유저의 승인된 스터디 수 조회 API 스웨거 명세 구현
hoonyworld Nov 17, 2024
f4c4a2c
chore(ApplyRepository): 주석 제거
hoonyworld Nov 17, 2024
de41b0b
refactor: 반환 로직 DTO 내부로 이동
hoonyworld Nov 19, 2024
0bf2b63
feat: Transaction 읽기 속성 추가
hoonyworld Nov 19, 2024
93b831f
del: 프로젝션 인터페이스 삭제
hoonyworld Nov 20, 2024
6067293
refactor(ApprovedStudyCountResponseDto): 정적 팩토리 메서드 리팩토링
hoonyworld Nov 20, 2024
9825764
refactor(ApplyRepository): JPQL 쿼리 변경
hoonyworld Nov 20, 2024
457056a
refactor(InternalMeetingStatsService): 비즈니스 로직 변경
hoonyworld Nov 20, 2024
f3799d6
refactor(InternalMeetingStatsService): orgId에 해당하는 유저가 없을 경우 승인된 스터디 …
hoonyworld Nov 21, 2024
b220078
refactor(InternalMeetingStatsService): 유저 객체로 부터 orgId를 가져와서 반환하도록 리팩토링
hoonyworld Nov 21, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
feat: Transaction 읽기 속성 추가
hoonyworld committed Nov 19, 2024
commit 0bf2b634d898b5d6b736606e23a370e14e36083d
Original file line number Diff line number Diff line change
@@ -12,11 +12,13 @@
import org.sopt.makers.crew.main.internal.dto.ApprovedStudyCountProjection;
import org.sopt.makers.crew.main.internal.dto.ApprovedStudyCountResponseDto;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import lombok.RequiredArgsConstructor;

@Service
@RequiredArgsConstructor
@Transactional(readOnly = true)
public class InternalMeetingStatsService {
private final ApplyRepository applyRepository;
private final UserRepository userRepository;