This commit is contained in:
init_mahdi
2025-11-06 17:09:06 +03:30
parent 9731c30c57
commit 2364089442
13 changed files with 984 additions and 1671 deletions
@@ -111,7 +111,7 @@ def import_law_section_repair_ref_state(cursor, elastic, index_name_o, file_log)
prev_ref_state = []
item = {}
try:
item = elastic.get_doctument(index_name_o, eid)
item = elastic.get_document(index_name_o, eid)
if 'ref_state' in item['_source'] :
if len(item['_source']['ref_state']) > 0:
prev_ref_state = item['_source']['ref_state']