This commit is contained in:
沈健
2025-06-05 17:47:27 +08:00
parent 27de5a7ec9
commit 20b606a0dd
3 changed files with 5 additions and 2 deletions
+1 -1
View File
@@ -28,7 +28,7 @@ def sync(province):
if 'district' in source and (source['district'] != item['area_name']):
errors.append(source)
continue
if ('registered_address' not in source) or ('company_name' not in source):
if ('registered_address' not in source) or ('company_name' not in source) or ('district' not in source) or ('city' not in source):
continue
doc_info = {'province': source['province'], 'city': source['city'], 'district': source['district'],
'company_name': source['company_name'], 'registered_address': source['registered_address'],