-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #122 from Modagbul/feat/mission-alarm
fix : 완료한 반복미션 미션 모아보기에 안뜨게 수정
- Loading branch information
Showing
13 changed files
with
129 additions
and
26 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
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
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
25 changes: 25 additions & 0 deletions
25
...oing/backend/domain/missionArchive/domain/service/MissionArchiveScheduleQueryService.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,25 @@ | ||
package com.moing.backend.domain.missionArchive.domain.service; | ||
|
||
import com.moing.backend.domain.member.domain.entity.Member; | ||
import com.moing.backend.domain.missionArchive.application.dto.res.MissionArchiveRes; | ||
import com.moing.backend.domain.missionArchive.domain.repository.MissionArchiveRepository; | ||
import com.moing.backend.global.annotation.DomainService; | ||
import lombok.RequiredArgsConstructor; | ||
import org.springframework.transaction.annotation.Transactional; | ||
|
||
import java.util.List; | ||
|
||
@DomainService | ||
@Transactional | ||
@RequiredArgsConstructor | ||
public class MissionArchiveScheduleQueryService { | ||
|
||
|
||
private final MissionArchiveRepository missionArchiveRepository; | ||
|
||
public List<String> getRemainMissionPeople() { | ||
return missionArchiveRepository.findPeopleRemainMission().orElseThrow(); | ||
} | ||
|
||
|
||
} |
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
29 changes: 29 additions & 0 deletions
29
...ckend/domain/missionArchive/domain/repository/MissionArchiveCustomRepositoryImplTest.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,29 @@ | ||
//package com.moing.backend.domain.missionArchive.domain.repository; | ||
// | ||
//import com.querydsl.jpa.impl.JPAQueryFactory; | ||
//import org.junit.jupiter.api.Test; | ||
//import org.springframework.beans.factory.annotation.Autowired; | ||
//import org.springframework.boot.test.context.SpringBootTest; | ||
// | ||
//import javax.persistence.EntityManager; | ||
//import java.util.List; | ||
//import java.util.Optional; | ||
// | ||
//import static com.moing.backend.domain.mission.domain.entity.QMission.mission; | ||
//import static com.moing.backend.domain.missionState.domain.entity.QMissionState.missionState; | ||
//@SpringBootTest | ||
//class MissionArchiveCustomRepositoryImplTest { | ||
// | ||
// @Autowired | ||
// EntityManager em; | ||
// | ||
// @Autowired | ||
// private MissionArchiveRepository missionArchiveRepository; | ||
// | ||
// @Test | ||
// void findPeopleRemainMission() { | ||
// | ||
// System.out.println("!!!"+ missionArchiveRepository.findPeopleRemainMission()); | ||
// | ||
// } | ||
//} |