@@ -26,20 +26,20 @@ python runner_test.py tag id2303-19 debug mdm3
...
@@ -26,20 +26,20 @@ python runner_test.py tag id2303-19 debug mdm3
defcheck_mcms_psi_dept_out(type1=16):
defcheck_mcms_psi_dept_out(type1=16):
branch_id=get_branch_id()
branch_id=get_branch_id()
sql=" select * from mcms_psi_dept where target_branch_id='%s' and bill_mode='%s' and stock_kind='CK_LYTK' order by CREATE_TIME desc LIMIT 1;"%(
sql=" select * from mcms_psi_dept where target_branch_id='%s' and bill_mode='%s' and stock_kind='CK_TK' order by CREATE_TIME desc LIMIT 1;"%(
branch_id,type1)
branch_id,type1)
actual=check_mcms_dept_buy_sql(sql)
actual=check_mcms_dept_buy_sql(sql)
print(actual)
print(actual)
DR_ID=get_id(" select id from mcms_psi_dept where target_branch_id='%s' and bill_mode='%s' and stock_kind='CK_LYTK' order by CREATE_TIME desc LIMIT 1;"%(
DR_ID=get_id(" select id from mcms_psi_dept where target_branch_id='%s' and bill_mode='%s' and stock_kind='CK_TK' order by CREATE_TIME desc LIMIT 1;"%(
branch_id,type1))
branch_id,type1))
sql="select order_no from mcms_psi_dept where id='%s';"%DR_ID
sql="select order_no from mcms_psi_dept where id='%s';"%DR_ID