/** This is a service method to query all countries */ @Override public List<Country> queryAllCountries() throws Exception { /* Query all countries: the query conditions is null */ List<Country> countries = countryMapper.selectByExample(null); return countries; }