\(\left\{{}\begin{matrix}\left(2m+1\right)x+y=2m-2\left(1\right)\\m^2x-y=m^2-3m\end{matrix}\right.\)
\(\Rightarrow\left(m^2+2m+1\right)x=m^2-m-2\)
\(\Rightarrow x=\dfrac{m^2-m-2}{m^2+2m+1}\left(m\ne-1\right)\)
\(\Rightarrow x=1+\dfrac{-3m-3}{m^2+2m+1}=1+\dfrac{-3\left(m+1\right)}{\left(m+1\right)^2}=1+\dfrac{-3}{m+1}\left(2\right)\)
\(\left(1\right)\left(2\right)\Rightarrow y=2m-2-\left(2m+1\right)\left(1-\dfrac{3}{m+1}\right)\)
\(\Rightarrow y=\dfrac{3m}{m+1}=3+\dfrac{-1}{m+1}\)
\(\Rightarrow x,y\in Z\left(m\in Z\right)\Leftrightarrow\left\{{}\begin{matrix}m+1\inƯ\left(3\right)=\left\{\pm1;\pm3\right\}\\m+1\inƯ\left(1\right)=\left\{\pm1\right\}\end{matrix}\right.\)
\(\Rightarrow m+1=\pm1\Leftrightarrow\left[{}\begin{matrix}m=0\left(tm\right)\\m=-2\left(tm\right)\end{matrix}\right.\)