Explorar o código

修改心率调用函数名

jyq %!s(int64=4) %!d(string=hai) anos
pai
achega
7c5889b516
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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