Development and Application of a Hydrogeochemical Model for the Groundwater Treatment Process in Waterworks