소스 검색

医生端--血糖超标消息增加上次数值

hzp 8 년 전
부모
커밋
c5f3d615d1
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      patient-co-wlyy/src/main/java/com/yihu/wlyy/health/repository/DevicePatientHealthIndexDao.java

+ 1 - 1
patient-co-wlyy/src/main/java/com/yihu/wlyy/health/repository/DevicePatientHealthIndexDao.java

@ -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 limit 1")
	@Query("select a.value1 from DevicePatientHealthIndex a where a.type=1 and a.user = ?1 and a.id<?2 and a.value2 = ?3 limit 0,1")
	String getPreValue(String user,Long id,String value2);
}