|
@@ -5342,10 +5342,9 @@ public class ArchivesAutoServiceImpl extends BaseServiceImpl<ArchivesAutoMapper,
|
|
|
|
|
|
@Override
|
|
|
@Async
|
|
|
- public boolean atuoOCR(String ids) throws Exception {
|
|
|
+ public boolean atuoOCR(List<Long> idsList) throws Exception {
|
|
|
String url="/mnt/sdc/AutoPdf/";
|
|
|
//String url="D:\\AutoPdf\\";
|
|
|
- List<Long> idsList = Func.toLongList(ids);
|
|
|
List<ArchivesAuto> archivesAutoList = this.list(new LambdaQueryWrapper<ArchivesAuto>().in(ArchivesAuto::getId, idsList));
|
|
|
for (ArchivesAuto auto : archivesAutoList) {
|
|
|
String fileUrl=auto.getOutUrl().substring(0,auto.getOutUrl().indexOf("@"));
|