Add Customer/Object/Employee working - DEBUGGING anchor Errors done

This commit is contained in:
2025-05-23 11:23:16 +02:00
parent 75427b1326
commit 096f60a2ec
35 changed files with 30124 additions and 1209 deletions

View File

@@ -50,15 +50,15 @@ class ContactDAO(QObject):
self.newObjectContactAdded.emit(False)
def getContact(self, contact_id, enc_key = None):
# try:
# if self.__cur:
# self.__cur.callproc("getCustomerContact", (contact_id, enc_key,))
# #self.__all_cols = [desc[0] for desc in self.__cur.description]
# return self.__cur.fetchall() #, self.__all_cols
# else:
# return None #, None
# except mariadb.Error as e:
# print(str(e))
pass
try:
if self.__cur:
self.__cur.callproc("getCustomerContact", (contact_id, enc_key,))
#self.__all_cols = [desc[0] for desc in self.__cur.description]
return self.__cur.fetchall() #, self.__all_cols
else:
return None #, None
except mariadb.Error as e:
print(str(e))