Commit 29fb30a2 authored by xiao-hesheng's avatar xiao-hesheng
Browse files

流程十脚本编写

parent 3f38ee6a
......@@ -226,20 +226,13 @@ def grants_user(orgName='d69a68df361a4289b2262e4ef75b55a5', mgrRangeId='feb0cc16
try:
# ==============删除业务数据和报表数据
delData().Delete_business_Data()#删除业务数据
delData().Del_reporter_data() # 删除报表数据
# delData().Delete_business_Data()#删除业务数据
# delData().Del_reporter_data() # 删除报表数据
#==============删除业务数据和报表数据
test1()
test2()# 科室添加产品信息(产品是从外网同步过来的)
dept_query_all()# 科室查询,将科室id写入文件中
grants_user()#给用户授权
# 二级库区信息写入文件
get_stockAreaId_new(FileUtils().r_info8("b2_herp3_bs", "所有科室id", 'message6')['deptid2'],
FileUtils().r_info8("b2_herp3_bs", "所有科室name", 'message6')['deptid2'], 2)
# 设置二级库区联系人
set_stockShelf_Linkman()
#
set_dept_user(FileUtils().r_info8("b2_herp3_bs", "所有科室id", 'message6')['deptid2'],FileUtils().r_info8("b2_herp3_bs", "所有科室name", 'message6')['deptid2'], 2)
commonFuc().check_text_exist_result_text('succees', 'succees')
except Exception as e:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment