From 6fc536b4cd768837aa744a98848a0324a19690e3 Mon Sep 17 00:00:00 2001 From: zhanhuasheng Date: Sun, 28 Apr 2024 11:32:06 +0800 Subject: [PATCH] bugfix --- TestFile/customer/customer_select.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TestFile/customer/customer_select.py b/TestFile/customer/customer_select.py index 8673d57..04e0eb7 100644 --- a/TestFile/customer/customer_select.py +++ b/TestFile/customer/customer_select.py @@ -1,7 +1,7 @@ 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 != '' or phone != '') 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) -- GitLab