permission entity tree list
This commit is contained in:
+15
-16
@@ -32,18 +32,17 @@ from s11_Tanghih_plan_move import *
|
||||
cursor, cnxn = create_cursor()
|
||||
|
||||
## ایجاد فهرست موضوعات قانون
|
||||
projectid = insertProejct()
|
||||
insertProjectItems(cursor, projectid)
|
||||
#projectid = insertProejct()
|
||||
#insertProjectItems(cursor, projectid)
|
||||
|
||||
# 2
|
||||
import_law_section_to_elastic(cursor)
|
||||
|
||||
|
||||
import_opinion_to_elastic(cursor)
|
||||
#import_law_section_to_elastic(cursor)
|
||||
|
||||
|
||||
import_regulation_section_to_elastic(cursor)
|
||||
|
||||
import_opinion_to_elastic(cursor)
|
||||
|
||||
### از ابتدا تا اینجا حدودا 24 ساعت کشید
|
||||
|
||||
|
||||
@@ -55,22 +54,22 @@ import_regulation_section_update_ref_state(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, cnxn = create_cursor('db4minaei')
|
||||
# #####import_tangih_tree_to_list(cursor)
|
||||
# import_tanghih_plan_codes(cursor)
|
||||
|
||||
cursor.close()
|
||||
cnxn.close()
|
||||
# cursor.close()
|
||||
# cnxn.close()
|
||||
|
||||
Reference in New Issue
Block a user