Skip to content

Commit

Permalink
fix : 미션 리마인드 알림 발송 구현중
Browse files Browse the repository at this point in the history
  • Loading branch information
seungueonn committed Dec 11, 2023
1 parent 2996813 commit 8acb0a9
Showing 1 changed file with 10 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -349,12 +349,20 @@ public Optional<List<String>> findPeopleRemainMission() {
.join(teamMember.team, team)
.join(team.missions, mission)
.join(mission.missionStateList,missionState)
.where(missionState.isNull())
.fetch());
.on(
mission.eq(missionState.mission),
teamMember.member.eq(missionState.member),
mission.number.loe(missionState.count()))
// .on(missionState.isNull())
.where(
mission.status.eq(MissionStatus.END).or(mission.status.eq(MissionStatus.SUCCESS)).not()
// missionState.isNull())
).fetch());
// .where(
// // active 한 미션 필터링
// (((mission.status.eq(MissionStatus.ONGOING).or(mission.status.eq(MissionStatus.WAIT))).and(mission.type.eq(MissionType.ONCE)))
// .or((mission.status.eq(MissionStatus.ONGOING)).and(mission.type.eq(MissionType.REPEAT)))),

// // 인증하지 않은값
// missionState.id.isNull()

Expand Down

0 comments on commit 8acb0a9

Please sign in to comment.