MouldFileService.java 1.1 KB

1234567891011121314151617181920212223242526272829
  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. /**
  10. * <p>
  11. * 服务类
  12. * </p>
  13. *
  14. * @author 吴涛涛
  15. * @since 2019-08-07
  16. */
  17. public interface MouldFileService extends IService<MouldFile> {
  18. HttpRespMsg addFile(UserVO userVO, Integer blongType,MultipartFile file, MultipartFile file2, String path);
  19. HttpRespMsg check(Integer mouldFileId, Integer isPass, UserVO userVO);
  20. HttpRespMsg dowloadFile(MouldFile projectFile, String token);
  21. HttpRespMsg getAllFileList(int mouldId, UserVO userVO);
  22. HttpRespMsg getFileList(int mouldId, Integer blongType, UserVO userVO);
  23. HttpRespMsg delFile(MouldFile mouldFile);
  24. HttpRespMsg getListByUserAndProjectId(UserVO userVO, PageUtil page);
  25. HttpRespMsg dowloadFileList(UserVO userVO);
  26. }