| | |
| | | package org.jeecg.modules.dnc.service; |
| | | |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import org.jeecg.common.api.vo.Result; |
| | | import org.jeecg.modules.dnc.entity.DocFile; |
| | | import org.jeecg.modules.dnc.entity.DocInfo; |
| | | import org.jeecg.modules.dnc.entity.ProcessStream; |
| | | import org.jeecg.modules.dnc.response.QueryListResponseResult; |
| | | import org.jeecg.modules.dnc.response.QueryPageResponseResult; |
| | | import org.jeecg.modules.dnc.response.ResponseResult; |
| | | import org.jeecg.modules.dnc.request.DocInfoQueryRequest; |
| | | import org.jeecg.modules.dnc.request.DocInfoUploadRequest; |
| | | import org.jeecg.modules.dnc.response.ResponseResult; |
| | | import org.springframework.web.multipart.MultipartFile; |
| | | |
| | | import javax.servlet.http.HttpServletRequest; |
| | |
| | | * @param id |
| | | * @return |
| | | */ |
| | | boolean deleteDocInfo(String id); |
| | | boolean deleteDocInfo(String id,String attrType,String attrId); |
| | | /** |
| | | * 监控文件导入 |
| | | * @param pathFile |
| | |
| | | * @param docQuery |
| | | * @return |
| | | */ |
| | | QueryPageResponseResult<DocInfo> findPageList(int page, int size, DocInfoQueryRequest docQuery); |
| | | Result<?> findPageList(int page, int size, DocInfoQueryRequest docQuery); |
| | | |
| | | /** |
| | | * |
| | |
| | | boolean deleteByProcessId(String processId); |
| | | |
| | | /** |
| | | * 删除工步下的所有文档 |
| | | * @param stepId |
| | | * @return |
| | | */ |
| | | boolean deleteByStepId(String stepId); |
| | | |
| | | /** |
| | | * 删除文档信息 |
| | | * @param attrType |
| | | * @param attrId |
| | |
| | | * @param docQuery |
| | | * @return |
| | | */ |
| | | QueryPageResponseResult<DocInfo> findPageListByDevice(int page, int size, DocInfoQueryRequest docQuery); |
| | | IPage<DocInfo> findPageListByDevice(int page, int size, DocInfoQueryRequest docQuery); |
| | | |
| | | /** |
| | | * 查询可指派的文档信息列表 |
| | | * @param docQuery |
| | | * @return |
| | | */ |
| | | QueryListResponseResult<DocInfo> findList(DocInfoQueryRequest docQuery); |
| | | List<DocInfo> findList(DocInfoQueryRequest docQuery); |
| | | |
| | | /** |
| | | * 通过一组attributionId,docClassCode,attributionType查询可指派的文档信息列表 |
| | | * @param docQuery |
| | | * @return |
| | | */ |
| | | List<DocInfo> findListByDocQuery(DocInfoQueryRequest docQuery); |
| | | |
| | | |
| | | /** |
| | | * 获取一组工序下的文档信息列表 |
| | |
| | | * @param docIds |
| | | * @return |
| | | */ |
| | | boolean batchRemoveDocInfo(String[] docIds); |
| | | boolean batchRemoveDocInfo(String[] docIds,String attrType,String attrId); |
| | | |
| | | /** |
| | | * 文档下载 |