rain
2024-04-07 8310296e65e5b013829b206c630180a00ca34045
src/main/java/com/dji/sample/patches/service/ShpToDataSourceService.java
@@ -1,10 +1,17 @@
package com.dji.sample.patches.service;
import com.dji.sample.patches.model.entity.LotInfo;
import org.springframework.core.io.Resource;
import org.springframework.http.ResponseEntity;
import org.springframework.web.multipart.MultipartFile;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.UnsupportedEncodingException;
import java.util.List;
public interface ShpToDataSourceService {
    List<LotInfo> insertGeo(MultipartFile file ,String itemId) throws IOException;
    List<LotInfo> insertGeo(MultipartFile file ,String workspaceId,String waylineName) throws IOException;
    ResponseEntity<Resource> backWayline(String waylineName) throws FileNotFoundException, UnsupportedEncodingException;
}