Been a day since my open ingunial hernia repair surgery is it a good or bad idea to participate in sex if she is on top?

Bad idea. It will probably be a painful experience and i would recommend abstaining until the area is less swollen and tender before resuming normal activity.
Bad idea. Disrupting the repair is no fun!