move tanghih codes
This commit is contained in:
+26
-17
@@ -14,6 +14,7 @@ from s7_LawReg_qanon_ToElastic import *
|
||||
from s8_Relations_qanon_LWReg import *
|
||||
from s9_Relations_qanon_opinion import *
|
||||
from s10_LawReg_lwphase_Info import *
|
||||
from s11_Tanghih_plan_move import *
|
||||
|
||||
|
||||
# -----------------------------------------------------------------
|
||||
@@ -28,40 +29,48 @@ from s10_LawReg_lwphase_Info 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, cnxn = create_cursor('db4minaei')
|
||||
#import_tangih_tree_to_list(cursor)
|
||||
import_tanghih_plan_codes(cursor)
|
||||
|
||||
cursor.close()
|
||||
cnxn.close()
|
||||
|
||||
Reference in New Issue
Block a user