| | |
| | | import javax.servlet.http.HttpServletRequest; |
| | | import javax.servlet.http.HttpServletResponse; |
| | | import java.io.File; |
| | | import java.io.FileNotFoundException; |
| | | import java.util.List; |
| | | |
| | | public interface IDocInfoService extends IService<DocInfo> { |
| | |
| | | * @param id |
| | | * @return |
| | | */ |
| | | boolean deleteDocInfo(String id); |
| | | boolean deleteDocInfo(String id,String attrType,String attrId); |
| | | /** |
| | | * 监控文件导入 |
| | | * @param pathFile |
| | |
| | | */ |
| | | boolean addDocInfoRec(String pathFile,File fileRec); |
| | | |
| | | /** |
| | | * 解析NC文档通用方法(工控解析涉密) |
| | | * @param pathFile,fileRec |
| | | * @return |
| | | */ |
| | | boolean addDocInfoAnalysisGwNcService(String pathFile,File fileRec) throws FileNotFoundException; |
| | | |
| | | /** |
| | | * 程序回传(涉密解析工控) |
| | | * @param pathFile |
| | | */ |
| | | boolean addDocInfoAnalysisSmwNcService(String pathFile,File fileRec); |
| | | |
| | | /** |
| | | * 文档解析 |
| | | * @param equipmentId |
| | | * @param fileRec |
| | | * @param fileNameSuffix |
| | | * @param fileNameNew |
| | | * @param filePath |
| | | * @return |
| | | */ |
| | | boolean addDocInfoRecService(String equipmentId,File fileRec,String fileNameSuffix,String fileNameNew,String filePath ); |
| | | /** |
| | | * 入库操作 文档对应文件升版 |
| | |
| | | * @param docIds |
| | | * @return |
| | | */ |
| | | boolean batchRemoveDocInfo(String[] docIds); |
| | | boolean batchRemoveDocInfo(String[] docIds,String attrType,String attrId); |
| | | |
| | | /** |
| | | * 文档下载 |