Browse Source

修改存过函数名称

jyq 4 năm trước cách đây
mục cha
commit
b7ff039d93
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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