law repair
This commit is contained in:
+14
-14
@@ -29,7 +29,7 @@ from s11_Tanghih_plan_move import *
|
||||
# DELETE mj_qa_opinion_temp
|
||||
# -----------------------------------------------------------------
|
||||
|
||||
cursor, cnxn = create_cursor()
|
||||
# cursor, cnxn = create_cursor()
|
||||
|
||||
## ایجاد فهرست موضوعات قانون
|
||||
#projectid = insertProejct()
|
||||
@@ -39,20 +39,20 @@ cursor, cnxn = create_cursor()
|
||||
#import_law_section_to_elastic(cursor)
|
||||
|
||||
|
||||
import_regulation_section_to_elastic(cursor)
|
||||
# import_regulation_section_to_elastic(cursor)
|
||||
|
||||
import_opinion_to_elastic(cursor)
|
||||
# import_opinion_to_elastic(cursor)
|
||||
|
||||
### از ابتدا تا اینجا حدودا 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)
|
||||
@@ -63,13 +63,13 @@ import_law_reg_qanon_to_elastic(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()
|
||||
|
||||
|
||||
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