fix bug tokens
This commit is contained in:
+19
-19
@@ -29,43 +29,43 @@ from s11_Tanghih_plan_move import *
|
||||
# DELETE mj_qa_opinion_temp
|
||||
# -----------------------------------------------------------------
|
||||
|
||||
# cursor, cnxn = create_cursor()
|
||||
cursor, cnxn = create_cursor()
|
||||
|
||||
# ## ایجاد فهرست موضوعات قانون
|
||||
# projectid = insertProejct()
|
||||
# insertProjectItems(cursor, projectid)
|
||||
## ایجاد فهرست موضوعات قانون
|
||||
projectid = insertProejct()
|
||||
insertProjectItems(cursor, projectid)
|
||||
|
||||
# # 2
|
||||
# import_law_section_to_elastic(cursor)
|
||||
# 2
|
||||
import_law_section_to_elastic(cursor)
|
||||
|
||||
|
||||
# import_opinion_to_elastic(cursor)
|
||||
import_opinion_to_elastic(cursor)
|
||||
|
||||
|
||||
# import_regulation_section_to_elastic(cursor)
|
||||
import_regulation_section_to_elastic(cursor)
|
||||
|
||||
# ### از ابتدا تا اینجا حدودا 24 ساعت کشید
|
||||
### از ابتدا تا اینجا حدودا 24 ساعت کشید
|
||||
|
||||
|
||||
# import_law_section_update_ref_state(cursor)
|
||||
import_law_section_update_ref_state(cursor)
|
||||
|
||||
|
||||
# import_regulation_section_update_ref_state(cursor)
|
||||
import_regulation_section_update_ref_state(cursor)
|
||||
|
||||
|
||||
# import_law_reg_qanon_to_elastic(cursor)
|
||||
import_law_reg_qanon_to_elastic(cursor)
|
||||
|
||||
# ## تا اینجا رسید و خطا داد
|
||||
# import_relations_qanon_lwreg(cursor)
|
||||
## تا اینجا رسید و خطا داد
|
||||
import_relations_qanon_lwreg(cursor)
|
||||
|
||||
# ## اینجا خطا داد
|
||||
# import_relations_qanon_opinion(cursor)
|
||||
## اینجا خطا داد
|
||||
import_relations_qanon_opinion(cursor)
|
||||
|
||||
|
||||
# import_lawreg_lwphase_info(cursor)
|
||||
import_lawreg_lwphase_info(cursor)
|
||||
|
||||
# cursor.close()
|
||||
# cnxn.close()
|
||||
cursor.close()
|
||||
cnxn.close()
|
||||
|
||||
|
||||
cursor, cnxn = create_cursor('db4minaei')
|
||||
|
||||
Reference in New Issue
Block a user