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
a5e474f1
Commit
a5e474f1
authored
Nov 07, 2024
by
xiao-hesheng
Browse files
流程二脚本提交
parent
098dc53b
Changes
30
Hide whitespace changes
Inline
Side-by-side
air_case/b6_spd3_core_business_flow_database_check/a_a5流程五_中心库入库结算_正结算1_提交采购计划_数据库验证.air/a_a5流程五_中心库入库结算_正结算1_提交采购计划_数据库验证.py
View file @
a5e474f1
...
@@ -5,7 +5,7 @@ from air_case.public1.public1.public1 import updateUserLoginDefaultRange, get_li
...
@@ -5,7 +5,7 @@ from air_case.public1.public1.public1 import updateUserLoginDefaultRange, get_li
get_branch_id
,
get_dept_buy_id
,
check_mcms_pur_plan_sql
,
get_hosid
,
get_id
,
\
get_branch_id
,
get_dept_buy_id
,
check_mcms_pur_plan_sql
,
get_hosid
,
get_id
,
\
get_stockAreaId_new_fromDb
,
get_login_user_uxid
,
get_expdt_date
,
get_create_time
,
get_process_list2
,
\
get_stockAreaId_new_fromDb
,
get_login_user_uxid
,
get_expdt_date
,
get_create_time
,
get_process_list2
,
\
compare_text_index
,
check_mcms_pur_sql
,
check_source_id
,
get_mdm_goods_code1
,
get_goods_code1
,
get_supply_id
,
\
compare_text_index
,
check_mcms_pur_sql
,
check_source_id
,
get_mdm_goods_code1
,
get_goods_code1
,
get_supply_id
,
\
get_pkg_def_id
,
get_goods_gg
,
get_goods_name
,
get_login_user_uxid_bydb
,
process_tuple
get_pkg_def_id
,
get_goods_gg
,
get_goods_name
,
get_login_user_uxid_bydb
,
process_tuple
,
get_pkg_def_id2
from
common.fileUtls
import
FileUtils
from
common.fileUtls
import
FileUtils
from
common.run_cmd_script
import
execute_command
from
common.run_cmd_script
import
execute_command
...
@@ -287,7 +287,7 @@ def check_mcms_mcms_pur_plan_detail(id, type, planOrderNo):
...
@@ -287,7 +287,7 @@ def check_mcms_mcms_pur_plan_detail(id, type, planOrderNo):
commonFuc
().
check_text_exist_result_text
(
'succees'
,
'succees'
)
commonFuc
().
check_text_exist_result_text
(
'succees'
,
'succees'
)
else
:
else
:
print
(
'error'
)
print
(
'error'
)
commonFuc
().
check_text_exist_result_text
(
'error'
,
'succees'
)
commonFuc
().
check_text_exist_result_text
(
'error'
+
str
(
type
)
+
'采购订单子表'
,
'succees'
)
# 检查采购订单
# 检查采购订单
def
check_mcms_purchase
(
type
=
16
):
def
check_mcms_purchase
(
type
=
16
):
branch_id
=
get_branch_id
()
branch_id
=
get_branch_id
()
...
@@ -517,7 +517,7 @@ def check_mcms_purchase_detail(id, type, OrderNo):
...
@@ -517,7 +517,7 @@ def check_mcms_purchase_detail(id, type, OrderNo):
mdm_goods_code
=
get_mdm_goods_code1
(
hos_goods_id
)
mdm_goods_code
=
get_mdm_goods_code1
(
hos_goods_id
)
goods_code
=
get_goods_code1
(
hos_goods_id
)
goods_code
=
get_goods_code1
(
hos_goods_id
)
supply_id
=
get_supply_id
(
hos_goods_id
)
supply_id
=
get_supply_id
(
hos_goods_id
)
pkg_def_id
=
get_pkg_def_id
(
hos_goods_id
)
pkg_def_id
=
get_pkg_def_id
2
(
hos_goods_id
)
planBillId
=
process_tuple
(
planBillId
=
process_tuple
(
get_id
(
get_id
(
"select pid from mcms_pur_plan_detail where hos_goods_id='%s' order by create_time desc LIMIT 1;"
%
(
"select pid from mcms_pur_plan_detail where hos_goods_id='%s' order by create_time desc LIMIT 1;"
%
(
...
@@ -627,5 +627,4 @@ def main():
...
@@ -627,5 +627,4 @@ def main():
try
:
try
:
main
()
main
()
except
Exception
as
e
:
except
Exception
as
e
:
# print('出现错误,请检查脚本或者数据')
print
(
"发生异常:"
,
str
(
e
))
print
(
"发生异常:"
,
str
(
e
))
\ No newline at end of file
common/db/sql/sql_tools.py
View file @
a5e474f1
...
@@ -277,7 +277,7 @@ def get_DN_no(branch_id, type):
...
@@ -277,7 +277,7 @@ def get_DN_no(branch_id, type):
return
new_str1
return
new_str1
def
get_login_user_uxid_bydb
(
username
):
def
get_login_user_uxid_bydb
(
username
):
db
,
cursor
=
get_sql_conn
()
db
,
cursor
=
get_sql_conn
()
cursor
.
execute
(
"select id from sys_user where user_code='%s'"
%
username
)
cursor
.
execute
(
"select id from sys_user where user_code='%s'
;
"
%
username
)
results
=
cursor
.
fetchone
()
results
=
cursor
.
fetchone
()
str1
=
str
(
results
)
str1
=
str
(
results
)
new_str1
=
str1
.
replace
(
',)'
,
''
)
new_str1
=
str1
.
replace
(
',)'
,
''
)
...
@@ -310,7 +310,7 @@ def process_tuple(tuple1):
...
@@ -310,7 +310,7 @@ def process_tuple(tuple1):
def
get_mdm_goods_code1
(
hos_goods_id
):
def
get_mdm_goods_code1
(
hos_goods_id
):
db
,
cursor
=
get_sql_conn
()
db
,
cursor
=
get_sql_conn
()
cursor
.
execute
(
"select mdm_goods_code from mcms_goods_info where id='%s'"
%
hos_goods_id
)
cursor
.
execute
(
"select mdm_goods_code from mcms_goods_info where id='%s'
;
"
%
hos_goods_id
)
results
=
cursor
.
fetchall
()
results
=
cursor
.
fetchall
()
cursor
.
close
()
cursor
.
close
()
db
.
close
()
db
.
close
()
...
@@ -326,7 +326,7 @@ def get_source_id(branch_id,hos_goods_id):
...
@@ -326,7 +326,7 @@ def get_source_id(branch_id,hos_goods_id):
def
get_goods_code1
(
hos_goods_id
):
def
get_goods_code1
(
hos_goods_id
):
db
,
cursor
=
get_sql_conn
()
db
,
cursor
=
get_sql_conn
()
cursor
.
execute
(
"select hos_goods_code from mcms_goods_info where id='%s'"
%
hos_goods_id
)
cursor
.
execute
(
"select hos_goods_code from mcms_goods_info where id='%s'
;
"
%
hos_goods_id
)
results
=
cursor
.
fetchall
()
results
=
cursor
.
fetchall
()
cursor
.
close
()
cursor
.
close
()
db
.
close
()
db
.
close
()
...
@@ -335,7 +335,7 @@ def get_goods_code1(hos_goods_id):
...
@@ -335,7 +335,7 @@ def get_goods_code1(hos_goods_id):
def
get_goods_name
(
hos_goods_id
):
def
get_goods_name
(
hos_goods_id
):
db
,
cursor
=
get_sql_conn
()
db
,
cursor
=
get_sql_conn
()
cursor
.
execute
(
"select goods_name from mcms_goods_info where id='%s'"
%
hos_goods_id
)
cursor
.
execute
(
"select goods_name from mcms_goods_info where id='%s'
;
"
%
hos_goods_id
)
results
=
cursor
.
fetchall
()
results
=
cursor
.
fetchall
()
cursor
.
close
()
cursor
.
close
()
db
.
close
()
db
.
close
()
...
@@ -344,7 +344,7 @@ def get_goods_name(hos_goods_id):
...
@@ -344,7 +344,7 @@ def get_goods_name(hos_goods_id):
def
get_goods_gg
(
hos_goods_id
):
def
get_goods_gg
(
hos_goods_id
):
db
,
cursor
=
get_sql_conn
()
db
,
cursor
=
get_sql_conn
()
cursor
.
execute
(
"select goods_spec from mcms_goods_info where id='%s'"
%
hos_goods_id
)
cursor
.
execute
(
"select goods_spec from mcms_goods_info where id='%s'
;
"
%
hos_goods_id
)
results
=
cursor
.
fetchall
()
results
=
cursor
.
fetchall
()
cursor
.
close
()
cursor
.
close
()
db
.
close
()
db
.
close
()
...
@@ -353,7 +353,7 @@ def get_goods_gg(hos_goods_id):
...
@@ -353,7 +353,7 @@ def get_goods_gg(hos_goods_id):
def
get_supply_id
(
hos_goods_id
):
def
get_supply_id
(
hos_goods_id
):
db
,
cursor
=
get_sql_conn
()
db
,
cursor
=
get_sql_conn
()
cursor
.
execute
(
"select id from supply_prov_hos_goods where hos_goods_id='%s'"
%
hos_goods_id
)
cursor
.
execute
(
"select id from supply_prov_hos_goods where hos_goods_id='%s'
;
"
%
hos_goods_id
)
results
=
cursor
.
fetchall
()
results
=
cursor
.
fetchall
()
cursor
.
close
()
cursor
.
close
()
db
.
close
()
db
.
close
()
...
@@ -367,11 +367,17 @@ def get_pkg_def_id(hos_goods_id):
...
@@ -367,11 +367,17 @@ def get_pkg_def_id(hos_goods_id):
cursor
.
close
()
cursor
.
close
()
db
.
close
()
db
.
close
()
return
process_tuple
(
results
)
return
process_tuple
(
results
)
def
get_pkg_def_id2
(
hos_goods_id
):
db
,
cursor
=
get_sql_conn
()
cursor
.
execute
(
"select pkg_def_id from mcms_dept_goods_info where hos_goods_id='%s' LIMIT 1 OFFSET 3;"
%
hos_goods_id
)
results
=
cursor
.
fetchone
()
cursor
.
close
()
db
.
close
()
return
process_tuple
(
results
)
def
get_pkg_def_Name
(
hos_goods_id
):
def
get_pkg_def_Name
(
hos_goods_id
):
db
,
cursor
=
get_sql_conn
()
db
,
cursor
=
get_sql_conn
()
cursor
.
execute
(
"select pkg_def_name from mcms_pkg where hos_goods_id='%s'"
%
hos_goods_id
)
cursor
.
execute
(
"select pkg_def_name from mcms_pkg where hos_goods_id='%s'
;
"
%
hos_goods_id
)
results
=
cursor
.
fetchone
()
results
=
cursor
.
fetchone
()
cursor
.
close
()
cursor
.
close
()
db
.
close
()
db
.
close
()
...
@@ -380,7 +386,7 @@ def get_pkg_def_Name(hos_goods_id):
...
@@ -380,7 +386,7 @@ def get_pkg_def_Name(hos_goods_id):
def
get_goods_name1
(
hos_goods_id
):
def
get_goods_name1
(
hos_goods_id
):
db
,
cursor
=
get_sql_conn
()
db
,
cursor
=
get_sql_conn
()
cursor
.
execute
(
"select goods_name from mcms_goods_info where id='%s'"
%
hos_goods_id
)
cursor
.
execute
(
"select goods_name from mcms_goods_info where id='%s'
;
"
%
hos_goods_id
)
results
=
cursor
.
fetchall
()
results
=
cursor
.
fetchall
()
cursor
.
close
()
cursor
.
close
()
db
.
close
()
db
.
close
()
...
@@ -398,7 +404,7 @@ def get_mdm_goods_code(sql):
...
@@ -398,7 +404,7 @@ def get_mdm_goods_code(sql):
def
get_goods_mfrs_id
(
hos_goods_id
):
def
get_goods_mfrs_id
(
hos_goods_id
):
db
,
cursor
=
get_sql_conn
()
db
,
cursor
=
get_sql_conn
()
cursor
.
execute
(
"select goods_mfrs_id from mcms_goods_info where id='%s'"
%
hos_goods_id
)
cursor
.
execute
(
"select goods_mfrs_id from mcms_goods_info where id='%s'
;
"
%
hos_goods_id
)
results
=
cursor
.
fetchall
()
results
=
cursor
.
fetchall
()
cursor
.
close
()
cursor
.
close
()
db
.
close
()
db
.
close
()
...
@@ -407,7 +413,7 @@ def get_goods_mfrs_id(hos_goods_id):
...
@@ -407,7 +413,7 @@ def get_goods_mfrs_id(hos_goods_id):
def
check_source_id
(
hos_goods_id
,
source_id
):
def
check_source_id
(
hos_goods_id
,
source_id
):
db
,
cursor
=
get_sql_conn
()
db
,
cursor
=
get_sql_conn
()
cursor
.
execute
(
"select hos_goods_id from mcms_pur_plan_detail where id='%s'"
%
(
source_id
))
cursor
.
execute
(
"select hos_goods_id from mcms_pur_plan_detail where id='%s'
;
"
%
(
source_id
))
results1
=
cursor
.
fetchall
()
results1
=
cursor
.
fetchall
()
cursor
.
close
()
cursor
.
close
()
db
.
close
()
db
.
close
()
...
@@ -420,7 +426,7 @@ def check_source_id(hos_goods_id, source_id):
...
@@ -420,7 +426,7 @@ def check_source_id(hos_goods_id, source_id):
def
check_batch_id
(
source_batch_id
):
def
check_batch_id
(
source_batch_id
):
db
,
cursor
=
get_sql_conn
()
db
,
cursor
=
get_sql_conn
()
cursor
.
execute
(
"select id from mcms_hos_batch where id='%s'"
%
(
source_batch_id
))
cursor
.
execute
(
"select id from mcms_hos_batch where id='%s'
;
"
%
(
source_batch_id
))
results1
=
cursor
.
fetchall
()
results1
=
cursor
.
fetchall
()
cursor
.
close
()
cursor
.
close
()
db
.
close
()
db
.
close
()
...
@@ -432,7 +438,7 @@ def check_batch_id(source_batch_id):
...
@@ -432,7 +438,7 @@ def check_batch_id(source_batch_id):
def
check_distr_detail_id
(
source_distr_detail_id
):
def
check_distr_detail_id
(
source_distr_detail_id
):
db
,
cursor
=
get_sql_conn
()
db
,
cursor
=
get_sql_conn
()
cursor
.
execute
(
"select id from hdi_distr_detail where id='%s'"
%
(
source_distr_detail_id
))
cursor
.
execute
(
"select id from hdi_distr_detail where id='%s'
;
"
%
(
source_distr_detail_id
))
results1
=
cursor
.
fetchall
()
results1
=
cursor
.
fetchall
()
cursor
.
close
()
cursor
.
close
()
db
.
close
()
db
.
close
()
...
@@ -443,7 +449,7 @@ def check_distr_detail_id(source_distr_detail_id):
...
@@ -443,7 +449,7 @@ def check_distr_detail_id(source_distr_detail_id):
return
False
return
False
def
check_barcode_id
(
barcode_id
):
def
check_barcode_id
(
barcode_id
):
db
,
cursor
=
get_sql_conn
()
db
,
cursor
=
get_sql_conn
()
cursor
.
execute
(
"select id from hdi_barcode where id='%s'"
%
(
barcode_id
))
cursor
.
execute
(
"select id from hdi_barcode where id='%s'
;
"
%
(
barcode_id
))
results1
=
cursor
.
fetchall
()
results1
=
cursor
.
fetchall
()
cursor
.
close
()
cursor
.
close
()
db
.
close
()
db
.
close
()
...
@@ -454,7 +460,7 @@ def check_barcode_id(barcode_id):
...
@@ -454,7 +460,7 @@ def check_barcode_id(barcode_id):
return
False
return
False
def
check_un_balance_id
(
un_balance_id
):
def
check_un_balance_id
(
un_balance_id
):
db
,
cursor
=
get_sql_conn
()
db
,
cursor
=
get_sql_conn
()
cursor
.
execute
(
"select id from mcms_out_un_balance where id='%s'"
%
(
un_balance_id
))
cursor
.
execute
(
"select id from mcms_out_un_balance where id='%s'
;
"
%
(
un_balance_id
))
results1
=
cursor
.
fetchall
()
results1
=
cursor
.
fetchall
()
cursor
.
close
()
cursor
.
close
()
db
.
close
()
db
.
close
()
...
...
data/a2_mdm3_ea/message
View file @
a5e474f1
企业信息:
企业信息:
e_id: CR2024110
50131
e_id: CR2024110
70074
cname: 国药集团公司
ilX2W
cname: 国药集团公司
NHDet
data/a3_mdm3_hs/message
View file @
a5e474f1
医院信息:
医院信息:
h_id: 湖南省人民医院
C4@WF
h_id: 湖南省人民医院
fwl2B
h_name: 湖南省人民医院
C4@WF
h_name: 湖南省人民医院
fwl2B
data/a5_mdm3_pdm/message2
View file @
a5e474f1
产品审核信息
:
产品审核信息
:
MSPid
:
MSP24110
5
00
3
2_1
MSPid
:
MSP24110
7
002
1
_1
hosId
:
h0347
hosId
:
h0347
hosGoodsId
:
h0347000058
60
hosGoodsId
:
h0347000058
97
provGoodsid
:
provGood-99223
171
provGoodsid
:
provGood-99223
209
goodsAuditBillId
:
MSP24110
5
00
3
2
goodsAuditBillId
:
MSP24110
7
002
1
targetId
:
MSP24110
5
00
3
2_1
targetId
:
MSP24110
7
002
1
_1
data/a6_mdm3_si/message
View file @
a5e474f1
...
@@ -2,45 +2,45 @@
...
@@ -2,45 +2,45 @@
list_a:
list_a:
- &id001
- &id001
settleMonth: '202411'
settleMonth: '202411'
pid: OBh03472024110
1
00
16
pid: OBh03472024110
7
00
02
hosGoodsId: h034700005
761
hosGoodsId: h034700005
894
goodsCode: '00005
761
'
goodsCode: '00005
894
'
goodsName: 一次性注射器_低值
d%*JM
goodsName: 一次性注射器_低值
muQJ*
goodsGg: G-31891
goodsGg: G-31891
mfrsName: 德国歌德公司 Geuder AG
mfrsName: 德国歌德公司 Geuder AG
unit: 支
unit: 支
leftSettleAmount:
-
19999.98
leftSettleAmount: 19999.98
batchCode:
batchCode:
kindName:
kindName:
factName:
factName:
cacheleftAmount: 19999.98
cacheleftAmount: 19999.98
purMode: 10
purMode: 10
waitInvoicingNum:
-
200.0
waitInvoicingNum: 200.0
invoicingPrice: 99.9999
invoicingPrice: 99.9999
normalContractId:
normalContractId:
normalContract: '1'
normalContract: '1'
detailList:
detailList:
- pid: OBh03472024110
1
00
16
- pid: OBh03472024110
7
00
02
settleMonth: '202411'
settleMonth: '202411'
accountDate: '2024-11-0
1
'
accountDate: '2024-11-0
7
'
hosGoodsId: h034700005
761
hosGoodsId: h034700005
894
batchCode: '333'
batchCode: '333'
distrDetailId: '03843
717
'
distrDetailId: '03843
889
'
distrId: PSh03472024110
1
00
28
distrId: PSh03472024110
7
00
09
distrOrderNo: PSh03472024110
1
00
28
distrOrderNo: PSh03472024110
7
00
09
settlePrice: 99.9999
settlePrice: 99.9999
maxSettleQty:
-
100.0
maxSettleQty: 100.0
maxSettleAmount:
-
9999.99
maxSettleAmount: 9999.99
curSettleQty:
-
100.0
curSettleQty: 100.0
curSettleAmount:
-
9999.99
curSettleAmount: 9999.99
leftSettleQty:
-
100.0
leftSettleQty: 100.0
leftSettleAmount:
-
9999.99
leftSettleAmount: 9999.99
hosId: h0347
hosId: h0347
provId: p1e
4bc
provId: p1e
509
branchId: h0347-37
5
3
branchId: h0347-37
8
3
balanceDetId: OBh03472024110
1
00
16
-000001
balanceDetId: OBh03472024110
7
00
02
-000001
purMode: 10
purMode: 10
barCode: 0137
5
3000005
761
01124110
1
1725051
0
1033321UT24110
1
000
428
barCode: 0137
8
3000005
894
01124110
7
1725051
6
1033321UT24110
7
000
206
batchId:
batchId:
price:
price:
maxQty:
maxQty:
...
@@ -54,34 +54,34 @@
...
@@ -54,34 +54,34 @@
onlineKind: '10'
onlineKind: '10'
kindName:
kindName:
normalContractId:
normalContractId:
goodsCode: '00005
761
'
goodsCode: '00005
894
'
goodsName: 一次性注射器_低值
d%*JM
goodsName: 一次性注射器_低值
muQJ*
goodsGg: G-31891
goodsGg: G-31891
mfrsName: 德国歌德公司 Geuder AG
mfrsName: 德国歌德公司 Geuder AG
unit: 支
unit: 支
invoicePrice: 99.9999
invoicePrice: 99.9999
viewId: 202411OBh03472024110
1
00
16
h034700005
761
viewId: 202411OBh03472024110
7
00
02
h034700005
894
- pid: OBh03472024110
1
00
16
- pid: OBh03472024110
7
00
02
settleMonth: '202411'
settleMonth: '202411'
accountDate: '2024-11-0
1
'
accountDate: '2024-11-0
7
'
hosGoodsId: h034700005
761
hosGoodsId: h034700005
894
batchCode: '333'
batchCode: '333'
distrDetailId: '03843
717
'
distrDetailId: '03843
889
'
distrId: PSh03472024110
1
00
28
distrId: PSh03472024110
7
00
09
distrOrderNo: PSh03472024110
1
00
28
distrOrderNo: PSh03472024110
7
00
09
settlePrice: 99.9999
settlePrice: 99.9999
maxSettleQty:
-
100.0
maxSettleQty: 100.0
maxSettleAmount:
-
9999.99
maxSettleAmount: 9999.99
curSettleQty:
-
100.0
curSettleQty: 100.0
curSettleAmount:
-
9999.99
curSettleAmount: 9999.99
leftSettleQty:
-
100.0
leftSettleQty: 100.0
leftSettleAmount:
-
9999.99
leftSettleAmount: 9999.99
hosId: h0347
hosId: h0347
provId: p1e
4bc
provId: p1e
509
branchId: h0347-37
5
3
branchId: h0347-37
8
3
balanceDetId: OBh03472024110
1
00
16
-000002
balanceDetId: OBh03472024110
7
00
02
-000002
purMode: 10
purMode: 10
barCode: 0137
5
3000005
761
01124110
1
1725051
0
1033321UT24110
1
000
420
barCode: 0137
8
3000005
894
01124110
7
1725051
6
1033321UT24110
7
000
297
batchId:
batchId:
price:
price:
maxQty:
maxQty:
...
@@ -95,17 +95,17 @@
...
@@ -95,17 +95,17 @@
onlineKind: '10'
onlineKind: '10'
kindName:
kindName:
normalContractId:
normalContractId:
goodsCode: '00005
761
'
goodsCode: '00005
894
'
goodsName: 一次性注射器_低值
d%*JM
goodsName: 一次性注射器_低值
muQJ*
goodsGg: G-31891
goodsGg: G-31891
mfrsName: 德国歌德公司 Geuder AG
mfrsName: 德国歌德公司 Geuder AG
unit: 支
unit: 支
invoicePrice: 99.9999
invoicePrice: 99.9999
viewId: 202411OBh03472024110
1
00
16
h034700005
761
viewId: 202411OBh03472024110
7
00
02
h034700005
894
unique: 202411OBh03472024110
1
00
16
h034700005
761
unique: 202411OBh03472024110
7
00
02
h034700005
894
invoicePrice:
invoicePrice:
onlineKind: '10'
onlineKind: '10'
viewId: 202411OBh03472024110
1
00
16
h034700005
761
viewId: 202411OBh03472024110
7
00
02
h034700005
894
list_b:
list_b:
- *id001
- *id001
list_c:
list_c:
...
...
data/b2_herp3_bs/message
View file @
a5e474f1
院区新增:
院区新增:
branch_id: h0347-37
76
branch_id: h0347-37
83
branch_name: 东土城路院区
fjGyN
branch_name: 东土城路院区
#!H7P
科室信息:
科室信息:
dept2_id:
a2c11b67a0fd481eac962e104cef2cac
dept2_id:
de8825888c3d4eaebec0b8c82c94bdae
dept2_name: 二级检验科002
dept2_name: 二级检验科002
data/b2_herp3_bs/message3
View file @
a5e474f1
用户名信息
:
用户名信息
:
username1
:
自动化测试
y9*o
&
username1
:
自动化测试
Mq4s
&
username2
:
自动化测试
y9*o
&
username2
:
自动化测试
Mq4s
&
data/b2_herp3_bs/message4
View file @
a5e474f1
一级科室信息
:
一级科室信息
:
dept1_id
:
35c4f33335e44b5a8feb68461bce8bb3
dept1_id
:
4cca3c17b3bf4caa9d6181f671798822
dept1_name
:
设备科001
dept1_name
:
设备科001
data/b2_herp3_bs/message6
View file @
a5e474f1
所有科室id
:
所有科室id
:
deptid1
:
35c4f33335e44b5a8feb68461bce8bb3
deptid1
:
4cca3c17b3bf4caa9d6181f671798822
deptid2
:
a2c11b67a0fd481eac962e104cef2cac
deptid2
:
de8825888c3d4eaebec0b8c82c94bdae
deptid3
:
b726f9b3c22646b49a5e527dcfb42994
deptid3
:
66061777414746d19934f7325d78329c
deptid4
:
17826ef304c645a29881ac9f66296
de
8
deptid4
:
7c5605f0177646478006c826510a71
de
所有科室name
:
所有科室name
:
deptid1
:
设备科001
deptid1
:
设备科001
deptid2
:
二级检验科002
deptid2
:
二级检验科002
...
...
data/b2_herp3_bs/message7
View file @
a5e474f1
shelfinfo
:
shelfinfo
:
shelfid
:
59b387569c1448d6bb30a14a7411e358
shelfid
:
3de0e007c1bc45b5abee30678d0cf436
shelfCode
:
areah034727
02
shelfCode
:
areah034727
33
areaName
:
自动化测试
areaName
:
自动化测试
data/b5_spd3_core_business_flow/message
View file @
a5e474f1
供货关系申请2:
供货关系申请2:
e_corpId: p1e
4f
9
e_corpId: p1e
50
9
h_corpId: h0347
h_corpId: h0347
e_username: 国药集团公司
ilX2W
e_username: 国药集团公司
NHDet
h_name: test_1
h_name: test_1
data/b5_spd3_core_business_flow/message1
View file @
a5e474f1
产品审核信息
:
产品审核信息
:
MSPid
:
MSP24110
5
00
28
_1
MSPid
:
MSP24110
7
00
17
_1
hosId
:
h0347
hosId
:
h0347
hosGoodsId
:
h0347000058
56
hosGoodsId
:
h0347000058
93
provGoodsid
:
provGood-99223
167
provGoodsid
:
provGood-99223
205
goodsAuditBillId
:
MSP24110
5
00
28
goodsAuditBillId
:
MSP24110
7
00
17
targetId
:
MSP24110
5
00
28
_1
targetId
:
MSP24110
7
00
17
_1
data/b5_spd3_core_business_flow/message10
View file @
a5e474f1
低值配送单号
:
低值配送单号
:
distrBillId1
:
PSh03472024110
1
00
51
distrBillId1
:
PSh03472024110
7
00
09
distrBillId2
:
PSh03472024110
1
00
51
distrBillId2
:
PSh03472024110
7
00
09
高值配送单号
:
高值配送单号
:
distrBillId1
:
PSh03472024110
1
00
52
distrBillId1
:
PSh03472024110
7
00
10
distrBillId2
:
PSh03472024110
1
00
52
distrBillId2
:
PSh03472024110
7
00
10
试剂配送单号
:
试剂配送单号
:
distrBillId1
:
PSh0347202411010053
distrBillId1
:
PSh0347202411070011
distrBillId2
:
PSh0347202411010053
distrBillId2
:
PSh0347202411070011
高值跟台配送单号
:
distrBillId1
:
PSh0347202411010076
distrBillId2
:
PSh0347202411010076
data/b5_spd3_core_business_flow/message11
View file @
a5e474f1
采购计划单号高值
:
采购计划单号高值
:
orderNo1
:
PLAN2024110
532964
orderNo1
:
PLAN2024110
734456
orderNo2
:
PLAN2024110
532964
orderNo2
:
PLAN2024110
734456
data/b5_spd3_core_business_flow/message12
View file @
a5e474f1
采购计划单号试剂
:
采购计划单号试剂
:
orderNo1
:
PLAN2024110
532965
orderNo1
:
PLAN2024110
734457
orderNo2
:
PLAN2024110
532965
orderNo2
:
PLAN2024110
734457
data/b5_spd3_core_business_flow/message13
View file @
a5e474f1
...
@@ -3,36 +3,37 @@
...
@@ -3,36 +3,37 @@
-
&id001
-
&id001
-
id
:
-
id
:
hosId
:
h0347
hosId
:
h0347
branchId
:
h0347-37
5
3
branchId
:
h0347-37
8
3
deptId
:
deptId
:
taskType
:
1
taskType
:
1
sourceOrgId
:
p1e
4bc
sourceOrgId
:
p1e
509
sourceOrgName
:
国药集团公司
M@n&X
sourceOrgName
:
国药集团公司
NHDet
sourceOrderNo
:
PSh03472024110
1
00
76
sourceOrderNo
:
PSh03472024110
7
00
11
billMode
:
'
25
'
billMode
:
'
66
'
stockKind
:
stockKind
:
purMode
:
purMode
:
sourceId
:
PSh03472024110
1
00
76
sourceId
:
PSh03472024110
7
00
11
sourceDetailId
:
sourceDetailId
:
sourceType
:
PSD
sourceType
:
PSD
sourceTypeName
:
配送单
sourceTypeName
:
配送单
sourceVersion
:
1
sourceVersion
:
1
planOrderNo
:
SSSQ202411010374
planOrderNo
:
PLAN2024110734457
purOrderNo
:
SSTZ202411010341
purOrderNo
:
CG2024110719709
recOrgId
:
4e47f180e69f4fb88a79fc4b2d211635
recOrgId
:
4cca3c17b3bf4caa9d6181f671798822
recOrgName
:
二级检验科002
recOrgName
:
设备科001
billRelationJson
:
'{"operationApplyOrderNo":"SSSQ202411010374","operationNoticeBillId":"Nh034720241101000005","distrBillId":"PSh0347202411010076","operationNoticeOrderNo":"SSTZ202411010341","distrOrderNo":"PSh0347202411010076","operationApplyBillId":"Oh034720241101000005"}'
billRelationJson
:
'{"planBillId":"Ph034720241107031102","planOrderNo":"PLAN2024110734457","purOrderNo":"CG2024110719709","purBillId":"Ch034720241107000038","purBillDate":"2024-11-07
taskDate
:
'2024-11-01 14:51:01'
10
:
02:51","distrBillId":"PSh0347202411070011","distrOrderNo":"PSh0347202411070011"}'
taskDate
:
'2024-11-07 10:03:50'
taskDateStart
:
taskDateStart
:
taskDateEnd
:
taskDateEnd
:
billModeList
:
billModeList
:
viewIdList
:
viewIdList
:
supplierFlag
:
false
supplierFlag
:
false
tbStatus
:
20
tbStatus
:
20
remark
:
remark
:
''
pdaFlag
:
pdaFlag
:
areaCode
:
areaCode
:
areah03472733
areaCodeName
:
areaCodeName
:
自动化测试
list_b
:
list_b
:
-
*id001
-
*id001
list_c
:
list_c
:
...
...
data/b5_spd3_core_business_flow/message14
View file @
a5e474f1
验收单详情信息
:
验收单详情信息
:
list_a
:
list_a
:
-
&id001
-
&id001
-
purMode
:
2
0
-
purMode
:
6
0
unitName
:
1
支
unitName
:
1
00支/100
hosGoodsId
:
h034700005
760
hosGoodsId
:
h034700005
895
mdmGoodsCode
:
mdmGoodsCode
:
spdGoodsCode
:
'11662
822
'
spdGoodsCode
:
'11662
957
'
goodsCode
:
'00005
760
'
goodsCode
:
'00005
895
'
goodsName
:
高值牙钻机$5zt4
goodsName
:
新型冠状病毒检测试剂g#fPr
goodsGg
:
G-31891
goodsGg
:
G-31891
mfrsId
:
mfrsId
:
mfrsName
:
德国歌德公司 Geuder AG
mfrsName
:
德国歌德公司 Geuder AG
...
@@ -16,22 +16,22 @@
...
@@ -16,22 +16,22 @@
goodsDi
:
'01123456789012'
goodsDi
:
'01123456789012'
miCode
:
miCode
:
miDjmc
:
miDjmc
:
certificateCode
:
certificateCode
:
''
rfidFlag
:
0
rfidFlag
:
0
pkgDefId
:
pkgDefId
:
pkgDefName
:
pkgDefName
:
'100'
pkgDefQty
:
1.0
pkgDefQty
:
1
00
.0
batchCode
:
'
2222
'
batchCode
:
'
4444
'
expdtDate
:
'2025-05-1
0
'
expdtDate
:
'2025-05-1
6
'
productDate
:
'2024-11-0
1
'
productDate
:
'2024-11-0
7
'
provName
:
国药集团公司
M@n&X
provName
:
国药集团公司
NHDet
provId
:
provId
:
viewId
:
'03843
765
'
viewId
:
'03843
891
'
verifyFlag
:
0
verifyFlag
:
0
hasSterilize
:
0
hasSterilize
:
0
id
:
'03843
765
'
id
:
'03843
891
'
detailRelationJson
:
detailRelationJson
:
extInfo
:
'{"ygptCode":"","transCond":"","storageCond":"","erpCode":""}'
extInfo
:
'{"
goodsGg":"G-31891","goodsCode":"00005895","purMode":60,"goodsName":"新型冠状病毒检测试剂g#fPr","
ygptCode":"","transCond":"","storageCond":"","erpCode":"
11662957","ybDefId":"
"}'
recTemperature
:
20
recTemperature
:
20
recHumidity
:
30
recHumidity
:
30
temperature
:
temperature
:
...
@@ -41,8 +41,8 @@
...
@@ -41,8 +41,8 @@
sterilizationDate
:
sterilizationDate
:
sterilizationEndDate
:
sterilizationEndDate
:
distrPrice
:
99.9999
distrPrice
:
99.9999
distrPkgQty
:
1.0
distrPkgQty
:
1
00
.0
distrQty
:
1.0
distrQty
:
1
0000
.0
price
:
99.9999
price
:
99.9999
checkQty
:
0.0
checkQty
:
0.0
checkPkgQty
:
0
checkPkgQty
:
0
...
@@ -50,7 +50,7 @@
...
@@ -50,7 +50,7 @@
initQty
:
initQty
:
totalQty
:
totalQty
:
rowNum
:
rowNum
:
settlement
:
3
settlement
:
1
hdiBarcodeList
:
hdiBarcodeList
:
detailId
:
detailId
:
pkgCode
:
pkgCode
:
...
@@ -61,9 +61,9 @@
...
@@ -61,9 +61,9 @@
trustMrfsName
:
trustMrfsName
:
multiChargeFlag
:
0
multiChargeFlag
:
0
useFrequency
:
1
useFrequency
:
1
codingType
:
0
codingType
:
limitMessage
:
limitMessage
:
autoUnpack
:
0
autoUnpack
:
orderNo
:
orderNo
:
expireType
:
0
expireType
:
0
remark
:
remark
:
...
...
data/b5_spd3_core_business_flow/message15
View file @
a5e474f1
验收单号
:
验收单号
:
CHECK_NO1
:
CHECKh03472024110
1
000
72
CHECK_NO1
:
CHECKh03472024110
70
000
5
CHECK_NO2
:
CHECKh03472024110
1
000
72
CHECK_NO2
:
CHECKh03472024110
70
000
5
data/b5_spd3_core_business_flow/message16
View file @
a5e474f1
...
@@ -5,34 +5,34 @@
...
@@ -5,34 +5,34 @@
lastModified
:
lastModified
:
version
:
version
:
createTime
:
createTime
:
createUser
:
h0347_UID-0514
1
0
createUser
:
h0347_UID-0514
4
0
lastModifiedUser
:
lastModifiedUser
:
billMode
:
'
6
6'
billMode
:
'
1
6'
recType
:
recType
:
stockKind
:
stockKind
:
purMode
:
purMode
:
sourceId
:
DR
h03472024110
1
000
139
sourceId
:
CHECK
h03472024110
70
000
3
sourceType
:
CK_TK
sourceType
:
PSD
sourceVersion
:
1
sourceVersion
:
0
batchList
:
batchList
:
billRelationJson
:
billRelationJson
:
hosId
:
h0347
hosId
:
h0347
deptId
:
e336188c385b4a06ab5faf019ace76d1
deptId
:
4cca3c17b3bf4caa9d6181f671798822
deptName
:
deptName
:
branchId
:
h0347-37
5
3
branchId
:
h0347-37
8
3
branchName
:
branchName
:
taskType
:
2
taskType
:
1
sourceOrgId
:
4e47f180e69f4fb88a79fc4b2d211635
sourceOrgId
:
p1e509
sourceOrgName
:
二级检验科002
sourceOrgName
:
国药集团公司NHDet
sourceOrderNo
:
DN20
24110
1000139
sourceOrderNo
:
YS
24110
7003
taskSourceNo
:
DN
2024110
1
000
13
9
taskSourceNo
:
PSh0347
2024110
7
0009
areaCode
:
areaCode
:
areah03472733
areaName
:
areaName
:
自动化测试
goodsName
:
goodsName
:
goodsGg
:
goodsGg
:
startDate
:
startDate
:
endDate
:
endDate
:
taskDate
:
'2024-11-0
1
1
2
:0
4
:4
6
'
taskDate
:
'2024-11-0
7
1
0
:0
5
:4
0
'
pkgTaskId
:
pkgTaskId
:
pkgFlag
:
pkgFlag
:
remark
:
''
remark
:
''
...
...
Prev
1
2
Next
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