修复sql 错误

This commit is contained in:
jerrylizilong 2019-03-26 15:19:34 +08:00
parent 48475f8f5b
commit b370eb40fb
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@ from app import useDB
from app.db import test_batch_manage from app.db import test_batch_manage
class test_task_manage(): class test_task_manage():
def test_suite_list(self): def test_suite_list(self):
sql = 'select id,run_type from test_suite where status in (0,2) and run_type in ("2","Chrome)";' sql = 'select id,run_type from test_suite where status in (0,2) and run_type in ("2","Chrome");'
idList = useDB.useDB().search(sql) idList = useDB.useDB().search(sql)
return idList return idList