Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
test
autotest-airtest-web-spd
Commits
4a4432b2
Commit
4a4432b2
authored
Jul 12, 2024
by
xiao-hesheng
Browse files
数据库验证流程十脚本编写
parent
3986ee3c
Changes
3
Hide whitespace changes
Inline
Side-by-side
air_case/b5_spd3_core_business_flow/a_b6流程十三请领业务流_三级库向二级库.air/a_b6流程十三请领业务流_三级库向二级库.py
View file @
4a4432b2
...
@@ -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
)
...
...
data/b2_herp3_bs/data
View file @
4a4432b2
...
@@ -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}
...
...
data/b2_herp3_bs/message
View file @
4a4432b2
院区新增:
院区新增:
branch_id: h0347-374
7
branch_id: h0347-374
2
branch_name: 东土城路院区
p192(
branch_name: 东土城路院区
2pj378
科室信息:
科室信息:
dept2_id:
8afc58b18fcb4bec9524c2b3ca839174
dept2_id:
ac8dfc2ae28d4c3d9e7e0599a8860d06
dept2_name: 二级检验科002
dept2_name: 二级检验科002
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment