From e042c9ee100e556e34d84d740438416491af20e0 Mon Sep 17 00:00:00 2001 From: happybell80 Date: Thu, 28 Aug 2025 01:20:56 +0900 Subject: [PATCH] =?UTF-8?q?docs:=20=EB=B8=8C=EB=A6=AC=ED=95=91=20=EC=8B=9C?= =?UTF-8?q?=EA=B0=84=20=ED=91=9C=EC=8B=9C=20=EB=AC=B8=EC=A0=9C=20=ED=95=B4?= =?UTF-8?q?=EA=B2=B0=20=EC=B6=94=EA=B0=80=20-=20substring(0,=205)=EB=A1=9C?= =?UTF-8?q?=20=EC=8B=9C=EA=B0=84=20=ED=98=95=EC=8B=9D=20=EB=B3=80=ED=99=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...rontend_backend_preferences_API_연동_완료.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/troubleshooting/250827_frontend_backend_preferences_API_연동_완료.md b/troubleshooting/250827_frontend_backend_preferences_API_연동_완료.md index df1ee95..196d5b7 100644 --- a/troubleshooting/250827_frontend_backend_preferences_API_연동_완료.md +++ b/troubleshooting/250827_frontend_backend_preferences_API_연동_완료.md @@ -294,11 +294,24 @@ async def proxy_preferences( ### 최종 상태 (23:30) - GET /api/preferences/{user_id}: 200 OK ✅ - PUT /api/preferences/{user_id}: 200 OK ✅ +- 브리핑 시간 표시: "09:00" 정상 표시 ✅ --- ## 10. PUT 500 에러 해결 과정 (22:45 ~ 23:30) +### 추가 해결: 브리핑 시간 표시 문제 (01:10) +- **문제**: DB `09:00:00` → Frontend `00:00` 표시 +- **원인**: TIME 형식 파싱 오류 +- **해결**: `activity-panel.tsx` line 104 +```javascript +// Backend에서 "09:00:00" 반환 → Frontend에서 "09:00"로 변환 +scheduleTime: data.briefing_time ? data.briefing_time.substring(0, 5) : '09:00' +``` +- **결과**: 정상 표시 완료 ✅ + +## 11. 최종 해결 내역 + ### 문제 1: 존재하지 않는 컬럼 참조 - **원인**: INSERT/UPDATE 쿼리가 DB에 없는 컬럼 참조 - **해결**: schedule_type, schedule_days, include_* 컬럼 제거