Commit 9f956013 authored by zhanhuasheng's avatar zhanhuasheng

bugfix

parent 18a2e76c
from Utils.sql_handler import test_env_conn
from TestData.customer.customer_test_data import customerData
customer_select_sql = f'select * from `customer` where brand_id = {customerData.brandId} and email != "" and email not like "%@willdeskvisitor.com%" order by create_at desc'
customer_select_sql = f'select * from `customer` where brand_id = {customerData.brandId} and (email != '' or phone != '') and email not like "%@willdeskvisitor.com%" order by create_at desc'
customer_select_result = test_env_conn.select_many_value(sql=customer_select_sql)
customer_num = len(customer_select_result)
......
Markdown is supported
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