@ -74,7 +74,7 @@ public interface DevicePatientHealthIndexDao
/**
* 上次血糖值
*/
@Query("select a.value1 from DevicePatientHealthIndex a where a.type=1 and a.user = ?1 and a.id<?2 and a.value2 = ?3")
@Query("select a.value1 from DevicePatientHealthIndex a where a.type=1 and a.user = ?1 and a.id<?2 and a.value2 = ?3 limit 1")
String getPreValue(String user,Long id,String value2);
}