Commit bc114ff8 authored by xiao-hesheng's avatar xiao-hesheng
Browse files

新增流程十数据库验证脚本

parent 020c4d61
......@@ -132,12 +132,13 @@ def check_mcms_dept_buy():
target_stock_id = get_id("select logic_id FROM yb_direct WHERE branch_id ='%s';"%branch_id)
bill_expdt_date = get_expdt_date("select bill_expdt_date from mcms_dept_buy where branch_id='%s' and bill_mode='16' order by create_time desc LIMIT 1;" % branch_id)
rec_user = get_login_user_uxid()
create_user = 'create_user'
create_time = 'create_time';
last_modified = 'last_modified'
last_modified_user = 'last_modified_user'
last_auditor = 'last_auditor'
last_audit_time = 'last_audit_time'
rec_addr='二级检验科002'
create_user = rec_user
create_time = get_create_time("select create_time from mcms_dept_buy where branch_id='%s' and bill_mode='16' order by create_time desc LIMIT 1;" % branch_id)
last_modified = get_create_time("select last_modified from mcms_dept_buy where branch_id='%s' and bill_mode='16' order by create_time desc LIMIT 1;" % branch_id)
last_modified_user = rec_user
last_auditor = rec_user
last_audit_time = get_create_time("select last_audit_time from mcms_dept_buy where branch_id='%s' and bill_mode='16' order by create_time desc LIMIT 1;" % branch_id)
target_stock_name='自动化测试12345'
rec_addr=deptname2
expected = commonFuc().get_business_data('b6_spd3_core_business_flow_database_check',
......
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