1.Lists.partition(list,3):按指定长度进行拆分,得到的是List
Lists.partition(articleCategoryList, BATCH_INSRT_SIZE).forEach(list -> articleCategoryMapper.batchInsert(list));
1.Lists.partition(list,3):按指定长度进行拆分,得到的是List
Lists.partition(articleCategoryList, BATCH_INSRT_SIZE).forEach(list -> articleCategoryMapper.batchInsert(list));