add:基础数据+IOT
This commit is contained in:
@@ -1,8 +1,6 @@
|
||||
package org.nl.module.layout.service.impl;
|
||||
|
||||
import jakarta.annotation.Resource;
|
||||
import org.nl.common.localStorage.service.LocalStorageService;
|
||||
import org.nl.common.localStorage.service.entity.LocalStorage;
|
||||
import org.nl.dev.api.DevFileApi;
|
||||
import org.nl.dev.dto.DevFileApiDto;
|
||||
import org.nl.module.layout.service.AgvLayoutService;
|
||||
@@ -31,9 +29,9 @@ public class AgvLayoutServiceImpl extends ServiceImpl<AgvLayoutMapMapper, AgvLay
|
||||
@Override
|
||||
@Transactional
|
||||
public void saveLayout(MapLayout layout) {
|
||||
DevFileApiDto storage = devFileApi.getFileInfoById(layout.getMapId());
|
||||
DevFileApiDto storage = devFileApi.getFileInfoById(Long.valueOf(layout.getMapId()));
|
||||
AgvLayoutMap layoutMap = AgvLayoutMap.builder()
|
||||
.mapId(layout.getMapId())
|
||||
.mapId(Long.valueOf(layout.getMapId()))
|
||||
.mapName(storage.getName())
|
||||
.url(storage.getStoragePath())
|
||||
.width(layout.getWidth())
|
||||
|
||||
Reference in New Issue
Block a user