johan/add-api #7

Merged
johan.le.baut merged 17 commits from johan/add-api into master 2023-02-28 22:32:35 +01:00
Showing only changes of commit b8b02bd5c8 - Show all commits

View file

@ -163,7 +163,7 @@ class Axione:
cur.execute(
f"""
SELECT EtatImmeuble
SELECT EtatImmeuble, DateDebutAcceptationCmdAcces
FROM {self.db_name_refimm}
WHERE IdentifiantImmeuble == '{id_immeuble}'
"""
@ -182,6 +182,7 @@ class Axione:
isEligible=isEligible,
ftthStatus=imm_elig,
reasonNotEligible=reasonNotEligible,
dateCommandable=res[1]
)
return eligStatus