Example 2. It is known that the equation $a x^{2}-(a-3) x+a-2=0$ has at least one integer solution, find the integer $a$.

Translate the above text into English, please keep the original text's line breaks and format, and output the translation result directly. 

(Note: The note is for you, the assistant, and should not be included in the output.)

Example 2. It is known that the equation $a x^{2}-(a-3) x+a-2=0$ has at least one integer solution, find the integer $a$.