ISceneFileBuildService.java 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. package com.fdkankan.scene.service;
  2. import com.fdkankan.scene.entity.SceneFileBuild;
  3. import com.baomidou.mybatisplus.extension.service.IService;
  4. import com.fdkankan.scene.vo.ResponseSceneFile;
  5. import com.fdkankan.common.response.ResultData;
  6. import org.springframework.web.multipart.MultipartFile;
  7. /**
  8. * <p>
  9. * 场景文件建模表 服务类
  10. * </p>
  11. *
  12. * @author dengsixing
  13. * @since 2021-12-23
  14. */
  15. public interface ISceneFileBuildService extends IService<SceneFileBuild> {
  16. SceneFileBuild findByFileId(String fileId);
  17. boolean uploadSuccess(String fileId, StringBuilder filePathBuffer);
  18. SceneFileBuild findByUnicode(String unicode);
  19. void unzipSingleFile(String filePath);
  20. ResultData uploadFile(MultipartFile file, String params) throws Exception;
  21. ResponseSceneFile preUpload(String params) throws Exception;
  22. ResponseSceneFile getProgress(String params) throws Exception;
  23. ResultData uploadSuccess(String params) throws Exception;
  24. ResultData uploadSuccessBuild(String params) throws Exception;
  25. ResultData turntableUploadSuccess(String params) throws Exception;
  26. ResultData getS3UploadUrl(String params) throws Exception;
  27. ResultData buildLiteScene(String prefix, String dataFdage, String zipName, String userName,
  28. String password, String oldNum) throws Exception;
  29. ResultData buildScene(String prefix, String unicode, String zip, String dataFdage) throws Exception;
  30. }