移入可疑文件夹和增加返回限制

pull/1/head
ljt 1 year ago
parent 5351125ee1
commit b9acf812be

@ -130,8 +130,8 @@ public class OcrTaskchildDubiousFileController {
//根据具体情况 判断 是否需要 进行数据返回, 默认不返回数据
boolean b = ocrTaskchildDubiousFileService.removeByIds(fileList);
return ResultVoUtil.success(b);
return ocrTaskchildDubiousFileService.removeByIds(fileList)?ResultVoUtil.success():ResultVoUtil.error();
}
/**
*
@ -171,8 +171,8 @@ public class OcrTaskchildDubiousFileController {
list.add(ocrtaskchilddubiousfile);
}
boolean b = ocrTaskchildDubiousFileService.saveBatch(list);
return ResultVoUtil.success(b);
return ocrTaskchildDubiousFileService.saveBatch(list)?ResultVoUtil.success():ResultVoUtil.error();
}
}

Loading…
Cancel
Save