executor.startBatch(); //一定要有,通知开始批量 int batch = 0; for(TreeCate TreeCate:TreeCateList){ //调用获取sequence的方法。如果没有的话就去掉这行代码。 TreeCate.setTreeCateId(getNextId()); //参数1为:ibatis中需要执行的语句的...