feat: MES 接口自动化测试框架(unittest + HTMLTestRunner + 数据驱动)
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
"""用户域 SQL。"""
|
||||
from dao.conn import DBConn
|
||||
|
||||
|
||||
class UserDao(DBConn):
|
||||
def get_user(self, account_num):
|
||||
sql = "select * from mes_user where del_flag=0 and account_num=%s"
|
||||
return self.select(sql, (account_num,))
|
||||
Reference in New Issue
Block a user