From e59c21c27d51817d2453f197044ab40e447bfb6f Mon Sep 17 00:00:00 2001 From: lucas Date: Thu, 17 Oct 2024 13:23:32 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E5=8C=B9=E9=85=8D=E5=8A=A0=E4=B8=8A?= =?UTF-8?q?=20=E9=80=9A=E9=81=93=20pos?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- adaptors/视觉位移to魏家滑坡.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/adaptors/视觉位移to魏家滑坡.go b/adaptors/视觉位移to魏家滑坡.go index f57d656..79f40ec 100644 --- a/adaptors/视觉位移to魏家滑坡.go +++ b/adaptors/视觉位移to魏家滑坡.go @@ -25,7 +25,8 @@ func (the Adaptor_SJWY_WJHP) GDRDtoUpload(devModule, rawRecords string) (result return nil } - sensorInfo := the.matchStationId(devModule) + devId := fmt.Sprintf("%s-%s", devModule, d.Pos) + sensorInfo := the.matchStationId(devId) if sensorInfo.StationId == 0 { return nil }