MouldFileService.java 1.4 KB

123456789101112131415161718192021222324252627282930313233
  1. package com.hssx.cloudmodel.service;
  2. import com.hssx.cloudmodel.entity.MouldFile;
  3. import com.baomidou.mybatisplus.extension.service.IService;
  4. import com.hssx.cloudmodel.entity.ProjectFile;
  5. import com.hssx.cloudmodel.entity.vo.UserVO;
  6. import com.hssx.cloudmodel.util.HttpRespMsg;
  7. import com.hssx.cloudmodel.util.PageUtil;
  8. import org.springframework.web.multipart.MultipartFile;
  9. import javax.servlet.http.HttpServletRequest;
  10. import javax.servlet.http.HttpServletResponse;
  11. import java.io.IOException;
  12. /**
  13. * <p>
  14. * 服务类
  15. * </p>
  16. *
  17. * @author 吴涛涛
  18. * @since 2019-08-07
  19. */
  20. public interface MouldFileService extends IService<MouldFile> {
  21. HttpRespMsg addFile(UserVO userVO, Integer blongType,MultipartFile file, MultipartFile file2, String path);
  22. HttpRespMsg check(Integer mouldFileId, Integer isPass, UserVO userVO);
  23. HttpRespMsg dowloadFile(MouldFile projectFile, String token);
  24. HttpRespMsg getAllFileList(int mouldId, UserVO userVO);
  25. HttpRespMsg getFileList(int mouldId, Integer blongType, UserVO userVO);
  26. HttpRespMsg delFile(MouldFile mouldFile);
  27. HttpRespMsg getListByUserAndProjectId(UserVO userVO, PageUtil page);
  28. HttpRespMsg dowloadFileList(UserVO userVO, HttpServletRequest request, HttpServletResponse response,String downloadPath,String path) throws IOException;
  29. HttpRespMsg addPartFile(UserVO userVO, String path, MultipartFile[] files);
  30. }