Hyungi Ahn
9c98c44d8a
fix: TBM 작업보고서 저장 버그 수정
문제:
1. dailyWorkReportController에서 DailyWorkReportModel(대문자) 사용 → dailyWorkReportModel(소문자)로 수정
2. daily_work_reports INSERT 쿼리에 work_hours 필드 누락
3. 에러 로그에 스택 트레이스 추가
해결:
- 변수명 통일 (dailyWorkReportModel 사용)
- INSERT 쿼리에 work_hours 필드 추가 (TBM에서는 total_hours와 동일)
- 에러 핸들링 개선 (스택 트레이스 로깅 추가)
영향받는 파일:
- api.hyungi.net/controllers/dailyWorkReportController.js (line 878, 887-894)
- api.hyungi.net/models/dailyWorkReportModel.js (line 1242-1266)
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
2026-01-27 13:56:12 +09:00
..
2025-12-02 13:08:44 +09:00
2026-01-20 08:40:19 +09:00
2025-12-19 10:33:29 +09:00
2026-01-27 13:56:12 +09:00
2025-12-19 10:33:29 +09:00
2025-12-19 15:47:15 +09:00
2026-01-20 15:38:17 +09:00
2025-12-19 10:33:29 +09:00
2026-01-19 09:49:48 +09:00
2026-01-26 15:15:19 +09:00
2026-01-26 15:06:43 +09:00
2025-12-19 10:33:29 +09:00
2025-07-28 09:53:31 +09:00
2026-01-20 08:40:19 +09:00
2025-12-19 12:42:24 +09:00
2026-01-19 10:17:31 +09:00
2026-01-26 14:31:58 +09:00
2025-12-19 10:33:29 +09:00
2025-07-28 09:53:31 +09:00