|  | @ -989,7 +989,7 @@ public class PatientDeviceService extends BaseJpaService<DevicePatientDevice, Pa
 | 
	
		
			
				|  |  |     public JSONObject getHealthIndex(JSONObject result,String deviceSn,String patient,Integer page,Integer pageSize){
 | 
	
		
			
				|  |  |         String sqlCount = "select count(id) from wlyy_patient_health_index where user ='"+patient+"' and device_sn='"+deviceSn+"' " +
 | 
	
		
			
				|  |  |                 " and del=1 ";
 | 
	
		
			
				|  |  |         String sql = "select *,CAST(DATE_FORMAT(record_date,'%Y-%m-%d %H:%i:%S') as char) sign_status from wlyy_patient_health_index where user ='"+patient+"' and device_sn='"+deviceSn+"' " +
 | 
	
		
			
				|  |  |         String sql = "select *,CAST(DATE_FORMAT(record_date,'%Y-%m-%d %H:%i:%S') as char) record_date from wlyy_patient_health_index where user ='"+patient+"' and device_sn='"+deviceSn+"' " +
 | 
	
		
			
				|  |  |                 " and del=1 order by record_date desc limit "+page*pageSize+","+pageSize;
 | 
	
		
			
				|  |  |         long count = jdbcTemplate.queryForObject(sqlCount,long.class);
 | 
	
		
			
				|  |  |         List<Map<String,Object>> list = jdbcTemplate.queryForList(sql);
 |