| | |
| | | @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"); |