A study on one-dimensional and discontinuous river flows with mobile beds