|  | @ -213,16 +213,10 @@ public class PatientMedicareCardService extends BasePatientMedicardCardService<P
 | 
												
													
														
															|  |         JSONObject result = new JSONObject();
 |  |         JSONObject result = new JSONObject();
 | 
												
													
														
															|  |         String sql = "select  " +
 |  |         String sql = "select  " +
 | 
												
													
														
															|  |                 " city.code, " +
 |  |                 " city.code, " +
 | 
												
													
														
															|  |                 " city.name, " +
 |  | 
 | 
												
													
														
															|  |                 " getFirstHanZiCode(city.name) as FirstLetter " +
 |  | 
 | 
												
													
														
															|  | 
 |  |                 " city.name " +
 | 
												
													
														
															|  |                 " from  " +
 |  |                 " from  " +
 | 
												
													
														
															|  |                 " base_city city  " +
 |  | 
 | 
												
													
														
															|  |                 " GROUP BY city.name,FirstLetter;";
 |  | 
 | 
												
													
														
															|  | 
 |  |                 " base_city city";
 | 
												
													
														
															|  |         List<Map<String, Object>> citylist = jdbcTemplate.queryForList(sql);
 |  |         List<Map<String, Object>> citylist = jdbcTemplate.queryForList(sql);
 | 
												
													
														
															|  |         for(Map<String, Object> city : citylist){
 |  | 
 | 
												
													
														
															|  |             Map<String,Map<String, Object>> oneLetterMap = new HashMap<>();
 |  | 
 | 
												
													
														
															|  |             oneLetterMap.put(city.get("FirstLetter").toString(),city);
 |  | 
 | 
												
													
														
															|  |         }
 |  | 
 | 
												
													
														
															|  |         result.put("unsorted", citylist);
 |  |         result.put("unsorted", citylist);
 | 
												
													
														
															|  |         result.put("sorted", PinYinUtil.pingYinSortReturnJSON(citylist));
 |  |         result.put("sorted", PinYinUtil.pingYinSortReturnJSON(citylist));
 | 
												
													
														
															|  |         return result;
 |  |         return result;
 |