|
|
@ -501,21 +501,21 @@ public class OcrTaskchildPictureServiceImpl extends BaseServiceImpl<OcrTaskchild
|
|
|
|
ocrTaskchildPicture.setFromprojectname(ocrPicture.getProjectidname());
|
|
|
|
ocrTaskchildPicture.setFromprojectname(ocrPicture.getProjectidname());
|
|
|
|
ocrTaskchildPicture.setFromusername(ocrPicture.getUpname());
|
|
|
|
ocrTaskchildPicture.setFromusername(ocrPicture.getUpname());
|
|
|
|
|
|
|
|
|
|
|
|
// StringBuffer pcid = new StringBuffer();
|
|
|
|
StringBuffer pcid = new StringBuffer();
|
|
|
|
// StringBuffer result = new StringBuffer();
|
|
|
|
StringBuffer result = new StringBuffer();
|
|
|
|
// for(OcrPicture comp:ocrPicture.getListCom()){
|
|
|
|
for(OcrPicture comp:ocrPicture.getListCom()){
|
|
|
|
// if(null == pcid || pcid.toString().length() < 1){
|
|
|
|
if(null == pcid || pcid.toString().length() < 1){
|
|
|
|
// pcid.append(comp.getId());
|
|
|
|
pcid.append(comp.getId());
|
|
|
|
// result.append(comp.getResult());
|
|
|
|
result.append(comp.getResult());
|
|
|
|
// }else{
|
|
|
|
}else{
|
|
|
|
// pcid.append("," + comp.getId());
|
|
|
|
pcid.append("," + comp.getId());
|
|
|
|
// result.append("," + comp.getResult());
|
|
|
|
result.append("," + comp.getResult());
|
|
|
|
// }
|
|
|
|
}
|
|
|
|
// }
|
|
|
|
}
|
|
|
|
//
|
|
|
|
|
|
|
|
// ocrTaskchildPicture.setOcpictureid(pcid.toString());
|
|
|
|
ocrTaskchildPicture.setOcpictureid(pcid.toString());
|
|
|
|
// ocrTaskchildPicture.setPictureresult(result.toString());
|
|
|
|
ocrTaskchildPicture.setPictureresult(result.toString());
|
|
|
|
// ocrTaskchildPicture.setPicturecompare(String.join(",",ocrPicture.getPicturecompareList()));
|
|
|
|
ocrTaskchildPicture.setPicturecompare(String.join(",",ocrPicture.getPicturecompareList()));
|
|
|
|
|
|
|
|
|
|
|
|
return this.save(ocrTaskchildPicture) ? ocrTaskchildPicture : null;
|
|
|
|
return this.save(ocrTaskchildPicture) ? ocrTaskchildPicture : null;
|
|
|
|
}
|
|
|
|
}
|
|
|
|