【修改新建草稿地图BUG】

This commit is contained in:
weizhihong 2022-04-28 10:28:35 +08:00
parent ad19c56331
commit a735fbbbeb

View File

@ -600,7 +600,9 @@ public class DraftMapService implements IDraftMapService {
// 车站 方向的逻辑数据数据
if (!CollectionUtils.isEmpty(logicDataVO.getDraftMapStationDirectionList())) {
draftMapStationDirectionDAO.insertList(logicDataVO.getDraftMapStationDirectionList());
List<DraftMapStationDirection> stationDirectionList = logicDataVO.getDraftMapStationDirectionList();
stationDirectionList.forEach(stationDirection -> stationDirection.setMapId(id));
draftMapStationDirectionDAO.insertList(stationDirectionList);
}
}