|
|
@ -36,6 +36,7 @@ import cn.jyjz.xiaoyao.oa.from.vo.FlowUnionVo;
|
|
|
|
import cn.jyjz.xiaoyao.ocr.dataobject.*;
|
|
|
|
import cn.jyjz.xiaoyao.ocr.dataobject.*;
|
|
|
|
import cn.jyjz.xiaoyao.ocr.service.*;
|
|
|
|
import cn.jyjz.xiaoyao.ocr.service.*;
|
|
|
|
import cn.jyjz.xiaoyao.ocr.util.SearchParaFormatting;
|
|
|
|
import cn.jyjz.xiaoyao.ocr.util.SearchParaFormatting;
|
|
|
|
|
|
|
|
import cn.jyjz.xiaoyao.ocr.vo.OcrTaskchildPictureApproVo;
|
|
|
|
import com.alibaba.fastjson.JSONObject;
|
|
|
|
import com.alibaba.fastjson.JSONObject;
|
|
|
|
import com.baomidou.mybatisplus.core.conditions.Wrapper;
|
|
|
|
import com.baomidou.mybatisplus.core.conditions.Wrapper;
|
|
|
|
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
|
|
|
|
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
|
|
|
@ -1335,13 +1336,13 @@ public class FlowTaskServiceImpl extends FlowServiceFactory implements IFlowTask
|
|
|
|
|
|
|
|
|
|
|
|
for (OcrTaskchildPictureAppro taskchildPicture : list) {
|
|
|
|
for (OcrTaskchildPictureAppro taskchildPicture : list) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (taskchildPicture.getPictureid() != null && !taskchildPicture.getPictureid().isEmpty()) {
|
|
|
|
if (taskchildPicture.getPictureid() != null && !taskchildPicture.getPictureid().isEmpty()) {
|
|
|
|
Long pictureId = Long.parseLong(taskchildPicture.getPictureid());
|
|
|
|
Long pictureId = Long.parseLong(taskchildPicture.getPictureid());
|
|
|
|
LambdaQueryWrapper<OcrPicture> ocrPictureLambdaQueryWrapper = new LambdaQueryWrapper<>();
|
|
|
|
LambdaQueryWrapper<OcrPicture> ocrPictureLambdaQueryWrapper = new LambdaQueryWrapper<>();
|
|
|
|
ocrPictureLambdaQueryWrapper.eq(OcrPicture::getId, pictureId);
|
|
|
|
ocrPictureLambdaQueryWrapper.eq(OcrPicture::getId, pictureId);
|
|
|
|
OcrPicture ocrPictureOne = ocrPictureService.getOne(ocrPictureLambdaQueryWrapper);
|
|
|
|
OcrPicture ocrPictureOne = ocrPictureService.getOne(ocrPictureLambdaQueryWrapper);
|
|
|
|
taskchildPicture.setFromUserName(ocrPictureOne.getField1());
|
|
|
|
taskchildPicture.setFromUserName(ocrPictureOne.getField1());
|
|
|
|
|
|
|
|
taskchildPicture.setPicture(ocrPictureOne);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
//查询对应的流程分类
|
|
|
|
//查询对应的流程分类
|
|
|
@ -1463,7 +1464,29 @@ public class FlowTaskServiceImpl extends FlowServiceFactory implements IFlowTask
|
|
|
|
ocrTaskchildPictureAppro.setStatshisText("待审批");
|
|
|
|
ocrTaskchildPictureAppro.setStatshisText("待审批");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
pageUtils.setList(list);
|
|
|
|
|
|
|
|
|
|
|
|
List<OcrTaskchildPictureApproVo> listNew = new ArrayList<>();
|
|
|
|
|
|
|
|
for(OcrTaskchildPictureAppro one : list){
|
|
|
|
|
|
|
|
OcrTaskchildPictureApproVo ocrTaskchildPictureApproVo = new OcrTaskchildPictureApproVo();
|
|
|
|
|
|
|
|
ocrTaskchildPictureApproVo.setId(one.getId());
|
|
|
|
|
|
|
|
ocrTaskchildPictureApproVo.setFromtaskname(one.getFromtaskname());
|
|
|
|
|
|
|
|
ocrTaskchildPictureApproVo.setStatshisText(one.getStatshisText());
|
|
|
|
|
|
|
|
ocrTaskchildPictureApproVo.setTasknamehis(one.getTasknamehis());
|
|
|
|
|
|
|
|
ocrTaskchildPictureApproVo.setFinishTime(one.getTransferRecords().get(0).getFinishTime());
|
|
|
|
|
|
|
|
ocrTaskchildPictureApproVo.setReleaseProvince(one.getPicture().getField10());
|
|
|
|
|
|
|
|
ocrTaskchildPictureApproVo.setFromprojectid(one.getFromprojectid());
|
|
|
|
|
|
|
|
ocrTaskchildPictureApproVo.setProductName(one.getPicture().getField9());
|
|
|
|
|
|
|
|
ocrTaskchildPictureApproVo.setCategory(one.getCategory());
|
|
|
|
|
|
|
|
ocrTaskchildPictureApproVo.setFromsourceid(one.getFromsourceid());
|
|
|
|
|
|
|
|
ocrTaskchildPictureApproVo.setCustomerType(one.getPicture().getField2());
|
|
|
|
|
|
|
|
ocrTaskchildPictureApproVo.setCustomerName(one.getPicture().getField3());
|
|
|
|
|
|
|
|
ocrTaskchildPictureApproVo.setItemCategory(one.getPicture().getField17());
|
|
|
|
|
|
|
|
ocrTaskchildPictureApproVo.setFromUserName(one.getFromUserName());
|
|
|
|
|
|
|
|
ocrTaskchildPictureApproVo.setManufacturer(one.getPicture().getField5());
|
|
|
|
|
|
|
|
listNew.add(ocrTaskchildPictureApproVo);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
pageUtils.setList(listNew);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|