소스 검색

修改心率调用函数名

jyq 4 년 전
부모
커밋
7c5889b516
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      assembly/heartRate/repository/postgre/hr.go

+ 1 - 1
assembly/heartRate/repository/postgre/hr.go

@@ -11,7 +11,7 @@ type PGHr struct {
 }
 
 func (PGHr) PublicSensorQuery(optUserId int64, objectShopId int64, jsonStr string, verfStr string) (result string, err error) {
-	err = getClient().Raw("select fn_hr_sensors_public_sensors_del(? ,? ,? )", optUserId, objectShopId, jsonStr, verfStr).
+	err = getClient().Raw("select fn_hr_sensors_public_sensors_query(? ,? ,? )", optUserId, objectShopId, jsonStr, verfStr).
 		Scan(&result).Error
 
 	return