|
|
@ -48,10 +48,14 @@ public class TaskQueue {
|
|
|
|
if (ocrPicture != null) {
|
|
|
|
if (ocrPicture != null) {
|
|
|
|
OcrTaskchildPicture taskchildPicture = ocrPictureService.getOcrTaskChildPictureByPictureId(ocrPicture.getId().toString());
|
|
|
|
OcrTaskchildPicture taskchildPicture = ocrPictureService.getOcrTaskChildPictureByPictureId(ocrPicture.getId().toString());
|
|
|
|
if (taskchildPicture != null && pictureSourceResult.getTaskStatus() != null
|
|
|
|
if (taskchildPicture != null && pictureSourceResult.getTaskStatus() != null
|
|
|
|
&& pictureSourceResult.getTaskStatus() == 6 && taskchildPicture.getStates() == 5) {
|
|
|
|
&& (pictureSourceResult.getTaskStatus() == 6 || pictureSourceResult.getTaskStatus() == 7) && (taskchildPicture.getStates() == 5 && taskchildPicture.getStates()==3)) {
|
|
|
|
String result = ocrPictureService.getPictureApproveResult(ocrPicture.getId());
|
|
|
|
if(taskchildPicture.getStates() == 5){
|
|
|
|
|
|
|
|
String result = ocrPictureService.getPictureApproveResult(ocrPicture.getId());
|
|
|
|
|
|
|
|
pictureSourceResult.setComment(result);
|
|
|
|
|
|
|
|
}else{
|
|
|
|
|
|
|
|
pictureSourceResult.setComment("ocr审批全部通过,由无量云发起了重置审批流程的操作。");
|
|
|
|
|
|
|
|
}
|
|
|
|
ocrPictureService.deletePictureInfo(ocrPicture.getId());
|
|
|
|
ocrPictureService.deletePictureInfo(ocrPicture.getId());
|
|
|
|
pictureSourceResult.setComment(result);
|
|
|
|
|
|
|
|
pictureSourceResult.setId(ocrPicture.getId());
|
|
|
|
pictureSourceResult.setId(ocrPicture.getId());
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
return true;
|
|
|
|
return true;
|
|
|
|