You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
package com.supervision.police.service;
|
|
|
|
|
|
|
|
import com.supervision.police.domain.FileOcrProcess;
|
|
|
|
import com.baomidou.mybatisplus.extension.service.IService;
|
|
|
|
import com.supervision.police.dto.OCRReqDTO;
|
|
|
|
import com.supervision.police.dto.OCRResDTO;
|
|
|
|
import com.supervision.police.dto.RecordFileDTO;
|
|
|
|
|
|
|
|
import java.util.List;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @author Administrator
|
|
|
|
* @description 针对表【file_ocr_process(文件ocr识别进度表)】的数据库操作Service
|
|
|
|
* @createDate 2024-08-30 17:35:23
|
|
|
|
*/
|
|
|
|
public interface FileOcrProcessService extends IService<FileOcrProcess> {
|
|
|
|
|
|
|
|
List<FileOcrProcess> submitOCR(List<String> fileIdList);
|
|
|
|
|
|
|
|
|
|
|
|
void doOCRTask(List<FileOcrProcess> fileOcrProcesses);
|
|
|
|
|
|
|
|
|
|
|
|
void doAllOCRTask();
|
|
|
|
|
|
|
|
List<FileOcrProcess> pageListByStatus(Integer status,Integer size);
|
|
|
|
|
|
|
|
Integer countByStatus(Integer status);
|
|
|
|
|
|
|
|
Boolean updateOCrStatus(List<String> ocrIdList, Integer ocrStatus);
|
|
|
|
|
|
|
|
Boolean updateByOcrRes(OCRResDTO ocrResDTO);
|
|
|
|
|
|
|
|
|
|
|
|
List<RecordFileDTO> queryFileList(List<String> fileIdList);
|
|
|
|
|
|
|
|
}
|