| | |
| | | import org.locationtech.jts.geom.Coordinate; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | import org.springframework.transaction.annotation.Transactional; |
| | | import org.springframework.util.FileCopyUtils; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.multipart.MultipartFile; |
| | |
| | | * @return MultipartFile 对象,包含压缩后的航迹文件。 |
| | | * @throws IOException 如果文件操作失败,则抛出IOException。 |
| | | */ |
| | | @Transactional |
| | | public MultipartFile listFile(String workspaceId, String waylineName, double airportLat, double airportLon) throws IOException { |
| | | List<TbDkjbxxEntity> list = mapper.selectList(null); |
| | | List<LotInfo> info = dbConvertToEntity(list); |