FDNY Lt. James Hayes enjoyed a joyful return home Saturday, a day after being shot by a desperate ex-con during a six-hour standoff on Staten Island.

“He is in very good spirits,” FDNY spokesman Jim Long said of the father of two, shown above arriving home with his son.

Hayes had courageously rushed inside the basement apartment of Bloods gangster Garland Tyree, 38, after the parolee set off a smoke bomb — only to have Tyree shoot him in the buttocks and calf.

Tyree was shot dead by cops.

Law-enforcement sources described Tyree on Saturday as a leader of a ragtag Bloods subset consisting of gangbangers scraping by on small-scale crimes.