Is the generator supply fused?
If the original cable fault took out only one of the supply fuses then the two remaining phases might have damaged one of the motor windings.
Disconnect the motor and test it for winding resistance. Remove any links and megger test between windings if you can as well.
The pump motor is almost certainly damaged but before you reconnect after repairs or replacement make sure it has effective protection against two-phasing.
If the original cable fault took out only one of the supply fuses then the two remaining phases might have damaged one of the motor windings.
Disconnect the motor and test it for winding resistance. Remove any links and megger test between windings if you can as well.
The pump motor is almost certainly damaged but before you reconnect after repairs or replacement make sure it has effective protection against two-phasing.