|
@@ -69,7 +69,7 @@ async def checkCellphone(cellphone: str = ''):
|
|
# 取得手機號碼資料
|
|
# 取得手機號碼資料
|
|
q = "SELECT * \
|
|
q = "SELECT * \
|
|
FROM agent_form \
|
|
FROM agent_form \
|
|
- WHERE cellphone IN ('" + cellphone_list + "')"
|
|
|
|
|
|
+ WHERE REPLACE(cellphone, '-', '') IN ('" + cellphone_list + "')"
|
|
|
|
|
|
count = len(list(db.query(q)))
|
|
count = len(list(db.query(q)))
|
|
|
|
|