Explorar el Código

修改存过函数名称

jyq hace 4 años
padre
commit
b7ff039d93
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      assembly/heartRate/repository/postgre/hr.go

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

@@ -18,7 +18,7 @@ func (PGHr) PublicSensorQuery(optUserId int64, objectShopId int64, jsonStr strin
 }
 
 func (PGHr) PrivateSensorQuery(optUserId int64, objectShopId int64, jsonStr string, verfStr string) (result string, err error) {
-	err = getClient().Raw("select fn_hr_sensors_private_sensors_del(? ,? ,? )", optUserId, objectShopId, jsonStr, verfStr).
+	err = getClient().Raw("select fn_hr_sensors_private_sensors_query(? ,? ,? )", optUserId, objectShopId, jsonStr, verfStr).
 		Scan(&result).Error
 
 	return