feat(realestate-lab): 즐겨찾기 + 가격 표시 + 일정 없는 공고 필터링
- announcements 테이블에 is_bookmarked 컬럼 추가 (마이그레이션 포함)
- PATCH /announcements/{id}/bookmark 토글 API 추가
- 공고 목록에 모델 기반 가격 범위(min_price, max_price_display) 포함
- 대시보드에 즐겨찾기 목록 + 개별 이벤트 일정 형식 반환
- 지역 검색을 LIKE 부분 매칭으로 변경
- 수집 시 일정 정보 없는 공고 건너뛰기
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -145,6 +145,13 @@ def collect_all() -> Dict[str, Any]:
|
||||
for raw in detail_rows:
|
||||
try:
|
||||
parsed = _parse_apt_detail(raw)
|
||||
# 일정 정보가 하나도 없는 공고는 건너뜀
|
||||
has_dates = any(parsed.get(f) for f in (
|
||||
"receipt_start", "receipt_end", "spsply_start",
|
||||
"gnrl_rank1_start", "winner_date", "contract_start",
|
||||
))
|
||||
if not has_dates:
|
||||
continue
|
||||
_, is_new = upsert_announcement(parsed)
|
||||
total_count += 1
|
||||
if is_new:
|
||||
|
||||
Reference in New Issue
Block a user