Dormitory select query result map and fixed the issue of gender field
name and the type of gender.