|
|
@@ -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
|