自动化立体仓库 - WMS系统
#
zjj
2023-09-09 3b41d1fa6a657f4785ac03aab864da45b9ef274f
src/main/java/com/zy/asrs/controller/MapController.java
@@ -34,10 +34,10 @@
    @ManagerAuth
    public String getMapData(@RequestParam Integer lev,@RequestParam Integer area) {
        try {
            String mapFilename = "AMap.json";
            String mapFilename = "map.json";
//            String fileName ="file:" + new ClassPathResource(mapFilename).getPath();
            //获取当前楼层库位数据
            List<LocMast> locMasts = locMastService.selectNodeCLocByLev(lev);
            List<LocMast> locMasts = locMastService.selectNodeLocByLev(lev);
            String fileName = this.getClass().getClassLoader().getResource(mapFilename).getPath();//获取文件路径
//            File file = new File("D:\\workspace\\zy-asrs\\src\\main\\resources\\map.json");