月球大数据地理空间分析展示平台-【后端】-月球后台服务
1
13693261870
2024-11-17 796b44ea813a1133beae4f3a67f1c0263510c0c7
src/main/java/com/moon/server/service/show/ExportService.java
@@ -20,11 +20,8 @@
import java.util.HashMap;
import java.util.Map;
/**
 * 在线制图
 * @author WWW
 */
@Service
@SuppressWarnings("ALL")
public class ExportService {
    @Value("${sys.exportServer}")
    private String exportServer;
@@ -35,14 +32,6 @@
    @Autowired
    DownloadService downloadService;
    /**
     * POST请求出图服务
     *
     * @param ue     用户类
     * @param entity 在线制图类
     * @return 成功
     * @throws Exception
     */
    public String post(UserEntity ue, ExportEntity entity) throws Exception {
        Map<String, Object> map = getMapData(entity);
        String url = exportServer + "/Export/Start";
@@ -69,9 +58,6 @@
        return rows > 0 ? de.getGuid() : null;
    }
    /**
     * 获取Map数据
     */
    private Map<String, Object> getMapData(ExportEntity entity) {
        Map<String, Object> map = new HashMap<String, Object>(3);
@@ -94,9 +80,6 @@
        return map;
    }
    /**
     * 获取下载实体类
     */
    private DownloadEntity getDownloadEntity(UserEntity ue, ExportEntity entity, String file) throws Exception {
        DownloadEntity de = new DownloadEntity();
        de.setName(FileHelper.getFileName(file));