|
|
|
@ -1,6 +1,7 @@
|
|
|
|
|
package cn.jyjz.xiaoyao.ocr.controller;
|
|
|
|
|
|
|
|
|
|
import java.io.IOException;
|
|
|
|
|
import java.util.ArrayList;
|
|
|
|
|
import java.util.List;
|
|
|
|
|
import java.util.Map;
|
|
|
|
|
import java.util.stream.Collectors;
|
|
|
|
@ -170,17 +171,18 @@ public class OcrTaskchildPictureController extends BaseController {
|
|
|
|
|
jsonObject.put("packageid", jsonObject.getOrDefault("packageid", null).toString());
|
|
|
|
|
return jsonObject;
|
|
|
|
|
}).collect(Collectors.toList());
|
|
|
|
|
List<JSONObject> collect1=new ArrayList<>();
|
|
|
|
|
for (JSONObject asd:collect){
|
|
|
|
|
QueryWrapper<OcrPicture> imgWrapper = new QueryWrapper<>();
|
|
|
|
|
imgWrapper.eq("id",asd.get("pictureid"));
|
|
|
|
|
OcrPicture one = ocrPictureService.getOne(imgWrapper);
|
|
|
|
|
if (one.getSuspiciousfile()==0){
|
|
|
|
|
collect.add(asd);
|
|
|
|
|
collect1.add(asd);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
IPage<JSONObject> objects = new Page<>();
|
|
|
|
|
BeanUtils.copyProperties(page, objects);
|
|
|
|
|
objects.setRecords(collect);
|
|
|
|
|
objects.setRecords(collect1);
|
|
|
|
|
return ResultVoUtil.success(objects);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|