https://www.cnblogs.com/wt20/p/11656437.html
https://blog.csdn.net/yoyochina/article/details/83300204
https://blog.csdn.net/qq_35451480/article/details/107201722
Statement.SUCCESS_NO_INFO(-2)代表:执行成功
List results = batchSqlSession.flushStatements();
int count=Arrays.stream(results.get(0).getUpdateCounts()).filter(s -> s == Statement.SUCCESS_NO_INFO).sum() / -2
ps:百度好多文章说 BATCH 执行器改为SIMPLE ,看项目吧,这边项目需要用到batch , so…