MouldFileService.java 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637
  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. import java.text.ParseException;
  13. /**
  14. * <p>
  15. * 服务类
  16. * </p>
  17. *
  18. * @author 吴涛涛
  19. * @since 2019-08-07
  20. */
  21. public interface MouldFileService extends IService<MouldFile> {
  22. HttpRespMsg addFile(UserVO userVO, Integer blongType,MultipartFile file, MultipartFile file2, String path);
  23. HttpRespMsg check(Integer mouldFileId, Integer isPass, UserVO userVO);
  24. HttpRespMsg dowloadFile(MouldFile projectFile, String token);
  25. HttpRespMsg getAllFileList(int mouldId, UserVO userVO);
  26. HttpRespMsg getFileList(int mouldId, Integer blongType, UserVO userVO,String path);
  27. HttpRespMsg delFile(MouldFile mouldFile,String token);
  28. HttpRespMsg getListByUserAndProjectId(UserVO userVO, PageUtil page);
  29. HttpRespMsg dowloadFileList(UserVO userVO, HttpServletRequest request, HttpServletResponse response,String downloadPath,String path) throws IOException;
  30. HttpRespMsg addPartFile(UserVO userVO, String path, MultipartFile[] files);
  31. HttpRespMsg downloadFileListExcel(UserVO userVO, HttpServletResponse response,String downloadPath) throws ParseException;
  32. HttpRespMsg mouldUpdateCheck(UserVO userVO);
  33. }