Commit 4aee04d
authored
## 📌 관련 이슈
- close #66
## ✨ 변경 사항
- 자녀가 새 습관 등록 시 연결된 부모에게 즉시 푸시
- 부모가 보상 승인(진행중으로 변경) 시 해당 자녀에게 즉시 푸시
## 📸 테스트 증명 (필수)
## 📚 리뷰어 참고 사항
- 이벤트 트리거 방식입니다.
## ✅ 체크리스트
- [x] 브랜치 전략(git flow)을 따랐나요?
- [x] 로컬에서 빌드 및 실행이 정상적으로 되나요?
- [x] 불필요한 주석이나 더미 코드는 제거했나요?
- [x] 컨벤션(커밋 메시지, 코드 스타일)을 지켰나요?
- [x] spotlessApply 실행했나요?
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
* **New Features**
* Parents now receive notifications when their children create a habit
that includes a reward, so parents are promptly informed of new
reward-based habits.
* Habit owners receive notifications when a habit’s reward progress
becomes active (moves into in-progress), keeping owners updated as
reward status changes.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
1 parent 6e8efda commit 4aee04d
File tree
1 file changed
+43
-2
lines changed- src/main/java/com/swyp/server/domain/habit/service
1 file changed
+43
-2
lines changedLines changed: 43 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
13 | 14 | | |
14 | 15 | | |
| 16 | + | |
15 | 17 | | |
16 | 18 | | |
17 | 19 | | |
| 20 | + | |
| 21 | + | |
18 | 22 | | |
19 | 23 | | |
20 | 24 | | |
21 | 25 | | |
22 | 26 | | |
23 | 27 | | |
24 | 28 | | |
| 29 | + | |
25 | 30 | | |
26 | 31 | | |
27 | 32 | | |
| |||
46 | 51 | | |
47 | 52 | | |
48 | 53 | | |
49 | | - | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
50 | 75 | | |
51 | 76 | | |
52 | 77 | | |
| |||
177 | 202 | | |
178 | 203 | | |
179 | 204 | | |
180 | | - | |
| 205 | + | |
| 206 | + | |
181 | 207 | | |
182 | 208 | | |
| 209 | + | |
| 210 | + | |
183 | 211 | | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
184 | 225 | | |
185 | 226 | | |
186 | 227 | | |
| |||
0 commit comments