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; import java.text.ParseException; /** *

* 服务类 *

* * @author 吴涛涛 * @since 2019-08-07 */ public interface MouldFileService extends IService { 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,String path); HttpRespMsg delFile(MouldFile mouldFile,String token); 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); HttpRespMsg downloadFileListExcel(UserVO userVO, HttpServletResponse response,String downloadPath) throws ParseException; HttpRespMsg mouldUpdateCheck(UserVO userVO); }