服务器未知运行时异常: 
### Error updating database.  Cause: java.sql.SQLIntegrityConstraintViolationException: Cannot delete or update a parent row: a foreign key constraint fails (`casic_metering_xichang`.`eqpt_plan_notify_relation`, CONSTRAINT `pk_relation` FOREIGN KEY (`plan_relation_id`) REFERENCES `eqpt_plan_equipment_relation` (`id`) ON DELETE RESTRICT ON UPDATE RE)
### The error may exist in com/casic/missiles/mapper/plan/PlanEquipmentRelationMapper.java (best guess)
### The error may involve defaultParameterMap
### The error occurred while setting parameters
### SQL: DELETE FROM eqpt_plan_equipment_relation     WHERE (plan_id = ?)
### Cause: java.sql.SQLIntegrityConstraintViolationException: Cannot delete or update a parent row: a foreign key constraint fails (`casic_metering_xichang`.`eqpt_plan_notify_relation`, CONSTRAINT `pk_relation` FOREIGN KEY (`plan_relation_id`) REFERENCES `eqpt_plan_equipment_relation` (`id`) ON DELETE RESTRICT ON UPDATE RE)
; Cannot delete or update a parent row: a foreign key constraint fails (`casic_metering_xichang`.`eqpt_plan_notify_relation`, CONSTRAINT `pk_relation` FOREIGN KEY (`plan_relation_id`) REFERENCES `eqpt_plan_equipment_relation` (`id`) ON DELETE RESTRICT ON UPDATE RE); nested exception is java.sql.SQLIntegrityConstraintViolationException: Cannot delete or update a parent row: a foreign key constraint fails (`casic_metering_xichang`.`eqpt_plan_notify_relation`, CONSTRAINT `pk_relation` FOREIGN KEY (`plan_relation_id`) REFERENCES `eqpt_plan_equipment_relation` (`id`) ON DELETE RESTRICT ON UPDATE RE)