Zaslat SMS: Different Influence of Gas Accretion on the Evolution of Star-forming and Non-star-forming Galaxies