From a735fbbbebfe2933259173ec30dc777f61b6cded Mon Sep 17 00:00:00 2001 From: weizhihong Date: Thu, 28 Apr 2022 10:28:35 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E4=BF=AE=E6=94=B9=E6=96=B0=E5=BB=BA?= =?UTF-8?q?=E8=8D=89=E7=A8=BF=E5=9C=B0=E5=9B=BEBUG=E3=80=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/club/joylink/rtss/services/DraftMapService.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/java/club/joylink/rtss/services/DraftMapService.java b/src/main/java/club/joylink/rtss/services/DraftMapService.java index fd5b46050..3f026c993 100644 --- a/src/main/java/club/joylink/rtss/services/DraftMapService.java +++ b/src/main/java/club/joylink/rtss/services/DraftMapService.java @@ -600,7 +600,9 @@ public class DraftMapService implements IDraftMapService { // 车站 方向的逻辑数据数据 if (!CollectionUtils.isEmpty(logicDataVO.getDraftMapStationDirectionList())) { - draftMapStationDirectionDAO.insertList(logicDataVO.getDraftMapStationDirectionList()); + List stationDirectionList = logicDataVO.getDraftMapStationDirectionList(); + stationDirectionList.forEach(stationDirection -> stationDirection.setMapId(id)); + draftMapStationDirectionDAO.insertList(stationDirectionList); } }