Yes. This is because the dissolved solid is rich in nutriients that can enhance agricultural productivity as stated in various documented literatures. Therefore, depending on the type of crops and the dissolved minerals in groudwater, agriculture production can be enhanced.
If "contaminated" groundwater is applied to the agricultural land then depending on the type of contaminant as dissolved solids, there can be definitely problem not only to crops grown and its output but also to the soil quality and further deterioration of the underlying groundwater quality.