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 workspaceId,String waylineName) throws IOException;
|
ResponseEntity<Resource> backWayline(String waylineName) throws FileNotFoundException, UnsupportedEncodingException;
|
}
|