add Btype
This commit is contained in:
12
lib/DB/BTypeDAO.py
Normal file
12
lib/DB/BTypeDAO.py
Normal file
@@ -0,0 +1,12 @@
|
||||
from .DbManager import DbManager
|
||||
|
||||
|
||||
class BTypeDAO:
|
||||
def __init__(self):
|
||||
self.__con = DbManager().getConnection()
|
||||
self.__cur = self.__con.cursor()
|
||||
|
||||
def getBType(self):
|
||||
self.__cur.callproc("getBType")
|
||||
data = self.__cur.fetchall()
|
||||
return(data)
|
||||
Reference in New Issue
Block a user