Files
sam-api/app/Services/Boards
kent 4a2c185c54 fix: 게시판 시스템 tenant_id 및 custom_fields 처리 개선
- 시스템 게시판도 tenant_id 항상 설정 (본사=1 글만 전체 공개)
- applySystemBoardScope() 헬퍼 추가로 쿼리 조건 통일
- saveCustomFields()에 field_key → field_id 매핑 로직 추가
- createComment()에 tenant_id 추가 (NOT NULL 제약조건 충족)
- 시스템 게시판 조회 조건: (tenant_id = 1) OR (tenant_id = 현재테넌트)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-28 02:45:16 +09:00
..