feat: 标准重新拆分打印日志
This commit is contained in:
+3
@@ -1894,9 +1894,12 @@ public class DocumentSplitServiceImpl extends ServiceImpl<DocumentSplitMapper, L
|
|||||||
documentSplitService.batchSplit(jsonObject, author);
|
documentSplitService.batchSplit(jsonObject, author);
|
||||||
log.info("第{}条处理完毕", count++);
|
log.info("第{}条处理完毕", count++);
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
|
log.info("第{}条处理失败", count++);
|
||||||
failedList.add(info.getId());
|
failedList.add(info.getId());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
// 将失败的标准编号打印出来,逗号拼接
|
||||||
|
log.error("企标拆分失败企标编号:{}", StringUtils.join(failedList, ","));
|
||||||
return failedList.size() + "条企标拆分失败";
|
return failedList.size() + "条企标拆分失败";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user