소스 검색

fix: 修复开庭时间校验

许家凯 1 년 전
부모
커밋
aebc0ee9bd
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      data_clean/handle/company_court_open_announcement.py

+ 1 - 1
data_clean/handle/company_court_open_announcement.py

@@ -56,7 +56,7 @@ async def open_ann_date(row_data: dict) -> dict:
     # 过滤开庭时间早于建国时间问题
     if 'start_date' in row_data:
 
-        if row_data['start_date']:
+        if not row_data['start_date']:
             raise RulerValidationException("ccoa_002", "开庭时间为空")
             pass