API: add date commandable
This commit is contained in:
parent
a3e165ec45
commit
b8b02bd5c8
1 changed files with 2 additions and 1 deletions
|
@ -163,7 +163,7 @@ class Axione:
|
||||||
|
|
||||||
cur.execute(
|
cur.execute(
|
||||||
f"""
|
f"""
|
||||||
SELECT EtatImmeuble
|
SELECT EtatImmeuble, DateDebutAcceptationCmdAcces
|
||||||
FROM {self.db_name_refimm}
|
FROM {self.db_name_refimm}
|
||||||
WHERE IdentifiantImmeuble == '{id_immeuble}'
|
WHERE IdentifiantImmeuble == '{id_immeuble}'
|
||||||
"""
|
"""
|
||||||
|
@ -182,6 +182,7 @@ class Axione:
|
||||||
isEligible=isEligible,
|
isEligible=isEligible,
|
||||||
ftthStatus=imm_elig,
|
ftthStatus=imm_elig,
|
||||||
reasonNotEligible=reasonNotEligible,
|
reasonNotEligible=reasonNotEligible,
|
||||||
|
dateCommandable=res[1]
|
||||||
)
|
)
|
||||||
|
|
||||||
return eligStatus
|
return eligStatus
|
||||||
|
|
Loading…
Reference in a new issue