|
|
|
|
@ -1,7 +1,5 @@
|
|
|
|
|
package cn.jyjz.xiaoyao.ocr.service;
|
|
|
|
|
|
|
|
|
|
import java.util.List;
|
|
|
|
|
import java.util.Map;
|
|
|
|
|
import cn.jyjz.xiaoyao.common.base.vo.ResultVo;
|
|
|
|
|
import cn.jyjz.xiaoyao.common.base.vo.UserToken;
|
|
|
|
|
import cn.jyjz.xiaoyao.common.mybatisplus.base.BaseService;
|
|
|
|
|
@ -11,42 +9,48 @@ import com.baomidou.mybatisplus.core.conditions.Wrapper;
|
|
|
|
|
import com.baomidou.mybatisplus.core.metadata.IPage;
|
|
|
|
|
|
|
|
|
|
import javax.servlet.http.HttpServletRequest;
|
|
|
|
|
import java.util.List;
|
|
|
|
|
import java.util.Map;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 业务层
|
|
|
|
|
*/
|
|
|
|
|
public interface OcrPictureService extends BaseService<OcrPicture> {
|
|
|
|
|
* 业务层
|
|
|
|
|
*/
|
|
|
|
|
public interface OcrPictureService extends BaseService<OcrPicture> {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
List<OcrPicture> listPage(Wrapper<OcrPicture> queryWrapper);
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 保存接口传来的json数据
|
|
|
|
|
*
|
|
|
|
|
* @param jsonArray
|
|
|
|
|
* @return
|
|
|
|
|
*/
|
|
|
|
|
public List<OcrPicture> savePicture(JSONObject jsonArray);
|
|
|
|
|
|
|
|
|
|
public ResultVo createTaskChild(List<OcrPicture> ocrPictureList, String tenantId , UserToken sysUser, String search_month, HttpServletRequest req, String buessinessno);
|
|
|
|
|
public ResultVo createTaskChild(List<OcrPicture> ocrPictureList, String tenantId, UserToken sysUser, String search_month, HttpServletRequest req, String buessinessno);
|
|
|
|
|
|
|
|
|
|
public ResultVo createTaskChild(List<OcrPicture> ocrPictureList, String tenantId,HttpServletRequest request);
|
|
|
|
|
public ResultVo createTaskChild(List<OcrPicture> ocrPictureList, String tenantId, HttpServletRequest request);
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 查询工单图片信息
|
|
|
|
|
*
|
|
|
|
|
* @param tenantId
|
|
|
|
|
* @param createuser
|
|
|
|
|
* @return
|
|
|
|
|
*/
|
|
|
|
|
public List<OcrPicture> listByTaskChild(String tenantId,String createuser,String isclose,String tasktype,String packageid);
|
|
|
|
|
public List<OcrPicture> listByTaskChild(String tenantId, String createuser, String isclose, String tasktype, String packageid);
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 查询工单图片信息
|
|
|
|
|
*
|
|
|
|
|
* @return
|
|
|
|
|
*/
|
|
|
|
|
public List<OcrPicture> listByTaskChild(List<String> pictureid);
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 根本预设检索条件id,分页查询图片信息
|
|
|
|
|
*
|
|
|
|
|
* @param pageNo
|
|
|
|
|
* @param pageSize
|
|
|
|
|
* @param userSearchId
|
|
|
|
|
@ -56,6 +60,7 @@ public interface OcrPictureService extends BaseService<OcrPicture> {
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 批量保存 图片信息
|
|
|
|
|
*
|
|
|
|
|
* @param ocrPictureList
|
|
|
|
|
* @return
|
|
|
|
|
*/
|
|
|
|
|
@ -65,7 +70,7 @@ public interface OcrPictureService extends BaseService<OcrPicture> {
|
|
|
|
|
|
|
|
|
|
ResultVo createPackageTask(List<OcrPicture> pageList, String tenantId, UserToken userToken, String searchMonth, HttpServletRequest req, String buessinessno, Map<String, Object> paramMap);
|
|
|
|
|
|
|
|
|
|
Map<String,String> getOcrPictureClassifyAndHash(String img);
|
|
|
|
|
Map<String, String> getOcrPictureClassifyAndHash(String img);
|
|
|
|
|
|
|
|
|
|
String getServerUrl();
|
|
|
|
|
|
|
|
|
|
@ -73,4 +78,12 @@ public interface OcrPictureService extends BaseService<OcrPicture> {
|
|
|
|
|
|
|
|
|
|
// Long getPhotoDateTime(OcrPicture picture);
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 根据任务id查询图片信息
|
|
|
|
|
*
|
|
|
|
|
* @param remark
|
|
|
|
|
* @return
|
|
|
|
|
*/
|
|
|
|
|
OcrPicture selectByRemark(String remark);
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|