Commit 4a4432b2 authored by xiao-hesheng's avatar xiao-hesheng
Browse files

数据库验证流程十脚本编写

parent 3986ee3c
...@@ -165,7 +165,10 @@ def BuyCarSubmit(): ...@@ -165,7 +165,10 @@ def BuyCarSubmit():
print('请领车查询=================', url) print('请领车查询=================', url)
deptid3 = FileUtils().r_info8("b2_herp3_bs", "所有科室id", 'message6')['deptid3'] deptid3 = FileUtils().r_info8("b2_herp3_bs", "所有科室id", 'message6')['deptid3']
deptname3 = FileUtils().r_info8("b2_herp3_bs", "所有科室name", 'message6')['deptid3'] deptname3 = FileUtils().r_info8("b2_herp3_bs", "所有科室name", 'message6')['deptid3']
areaCode = get_stockAreaId_new(deptid3, deptname3, 3) # areaCode = get_stockAreaId_new(deptid3, deptname3, 3)
areaCode = process_tuple(get_id(
"select shelf_code from mcms_stock_shelf where address='三级检测组003'and shelf_name='默认库区'order by create_time desc LIMIT 1;"))
request_body = commonFuc().get_business_data(module, "payload43", areaCode, get_hosid(), deptid3) request_body = commonFuc().get_business_data(module, "payload43", areaCode, get_hosid(), deptid3)
print('请领车查询', 'request_body', request_body) print('请领车查询', 'request_body', request_body)
......
...@@ -284,7 +284,6 @@ json_headers2: { ...@@ -284,7 +284,6 @@ json_headers2: {
"payload46": {"queryObject": {"goodsName": "","goodsMfrsName": "","purModes": [],"hosId": "h0347","branchId": "%s","grantRule": 1,"goodsSpec": "xhs"},"pageNum": 1, "pageSize": 50} "payload46": {"queryObject": {"goodsName": "","goodsMfrsName": "","purModes": [],"hosId": "h0347","branchId": "%s","grantRule": 1,"goodsSpec": "xhs"},"pageNum": 1, "pageSize": 50}
"payload47": {"branchGoodsIds": ["%s"],"hosGoodsIds": ["%s"],"grantRule": 2,"branchId": "%s"} "payload47": {"branchGoodsIds": ["%s"],"hosGoodsIds": ["%s"],"grantRule": 2,"branchId": "%s"}
"payload47_2": {"branchGoodsIds": ["%s"],"hosGoodsIds": ["%s"],"grantRule": 3,"branchId": "%s"} "payload47_2": {"branchGoodsIds": ["%s"],"hosGoodsIds": ["%s"],"grantRule": 3,"branchId": "%s"}
"payload47_3": {"branchGoodsIds": ["%s"],"hosGoodsIds": ["%s"],"grantRule": 1,"branchId": "%s"}
"payload48": {"branchGoodsIds": ["%s"],"hosGoodsIds": ["%s"],"grantRule": 3,"branchId": "%s"} "payload48": {"branchGoodsIds": ["%s"],"hosGoodsIds": ["%s"],"grantRule": 3,"branchId": "%s"}
"payload49": {"queryObject": {"goodsName": "","provName": "","purModes": [],"hosId": "h0347","settleType": 1,"goodsSpec": "" },"pageNum": 1,"pageSize": 100} "payload49": {"queryObject": {"goodsName": "","provName": "","purModes": [],"hosId": "h0347","settleType": 1,"goodsSpec": "" },"pageNum": 1,"pageSize": 100}
......
院区新增: 院区新增:
branch_id: h0347-3747 branch_id: h0347-3742
branch_name: 东土城路院区p192( branch_name: 东土城路院区2pj378
科室信息: 科室信息:
dept2_id: 8afc58b18fcb4bec9524c2b3ca839174 dept2_id: ac8dfc2ae28d4c3d9e7e0599a8860d06
dept2_name: 二级检验科002 dept2_name: 二级检验科002
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