123456789101112131415161718192021222324252627282930313233 |
- package com.hssx.cloudmodel.service;
- import com.hssx.cloudmodel.entity.MouldFile;
- import com.baomidou.mybatisplus.extension.service.IService;
- import com.hssx.cloudmodel.entity.ProjectFile;
- import com.hssx.cloudmodel.entity.vo.UserVO;
- import com.hssx.cloudmodel.util.HttpRespMsg;
- import com.hssx.cloudmodel.util.PageUtil;
- import org.springframework.web.multipart.MultipartFile;
- import javax.servlet.http.HttpServletRequest;
- import javax.servlet.http.HttpServletResponse;
- import java.io.IOException;
- /**
- * <p>
- * 服务类
- * </p>
- *
- * @author 吴涛涛
- * @since 2019-08-07
- */
- public interface MouldFileService extends IService<MouldFile> {
- HttpRespMsg addFile(UserVO userVO, Integer blongType,MultipartFile file, MultipartFile file2, String path);
- HttpRespMsg check(Integer mouldFileId, Integer isPass, UserVO userVO);
- HttpRespMsg dowloadFile(MouldFile projectFile, String token);
- HttpRespMsg getAllFileList(int mouldId, UserVO userVO);
- HttpRespMsg getFileList(int mouldId, Integer blongType, UserVO userVO);
- HttpRespMsg delFile(MouldFile mouldFile);
- HttpRespMsg getListByUserAndProjectId(UserVO userVO, PageUtil page);
- HttpRespMsg dowloadFileList(UserVO userVO, HttpServletRequest request, HttpServletResponse response,String downloadPath,String path) throws IOException;
- HttpRespMsg addPartFile(UserVO userVO, String path, MultipartFile[] files);
- }
|