A New Model for Electron-capture Supernovae in Galactic Chemical Evolution