|  | @ -43,7 +43,7 @@ public class BaseServiceNewsService {
 | 
	
		
			
				|  |  |      * @return
 | 
	
		
			
				|  |  |      */
 | 
	
		
			
				|  |  |     public List<Map<String,Object>> findPatinetByName(String name){
 | 
	
		
			
				|  |  |         String sql = "SELECT p.id,p.`name`,p.address,p.photo,p.mobile,p.lat_lon,sex,idcard,CAST(archive_type AS char) type from base_patient p\n" +
 | 
	
		
			
				|  |  |         String sql = "SELECT p.id,p.`name`,p.address,p.photo,p.mobile,p.lat_lon latLon,sex,idcard,CAST(archive_type AS char) type from base_patient p\n" +
 | 
	
		
			
				|  |  |                 "WHERE p.del = 1 and p.name like '%"+name+"%'";
 | 
	
		
			
				|  |  |         List<Map<String,Object>> list = jdbcTemplate.queryForList(sql);
 | 
	
		
			
				|  |  |         for (Map<String,Object> map:list){
 | 
	
	
		
			
				|  | @ -59,10 +59,10 @@ public class BaseServiceNewsService {
 | 
	
		
			
				|  |  |      * @return
 | 
	
		
			
				|  |  |      */
 | 
	
		
			
				|  |  |     public List<Map<String,Object>> findPatinetLocations(){
 | 
	
		
			
				|  |  |         String sql = "SELECT p.id,p.`name`,p.address,p.photo,p.mobile,p.lat_lon,sex,idcard,archive_type type from base_doctor_patient_tmp t,base_patient p " +
 | 
	
		
			
				|  |  |         String sql = "SELECT p.id,p.`name`,p.address,p.photo,p.mobile,p.lat_lon latLon,sex,idcard,archive_type type from base_doctor_patient_tmp t,base_patient p " +
 | 
	
		
			
				|  |  |                 "WHERE t.patient = p.id and t.del=1 and t.`status`=1 and p.del =1 " +
 | 
	
		
			
				|  |  |                 "UNION  " +
 | 
	
		
			
				|  |  |                 "SELECT p.id,p.`name`,p.address,p.photo,p.mobile,p.lat_lon,sex,idcard,archive_type type from base_service_package_sign_record t,base_patient p " +
 | 
	
		
			
				|  |  |                 "SELECT p.id,p.`name`,p.address,p.photo,p.mobile,p.lat_lon latLon,sex,idcard,archive_type type from base_service_package_sign_record t,base_patient p " +
 | 
	
		
			
				|  |  |                 "WHERE t.patient = p.id and t.`status`=1 and p.del =1";
 | 
	
		
			
				|  |  |         List<Map<String,Object>> list = jdbcTemplate.queryForList(sql);
 | 
	
		
			
				|  |  |         for (Map<String,Object> map:list){
 |