add Btype

This commit is contained in:
2024-12-10 11:44:34 +01:00
parent 959810c9e3
commit d25d4861f9
6 changed files with 45 additions and 6 deletions

12
lib/DB/BTypeDAO.py Normal file
View 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)