代码调整

This commit is contained in:
2023-06-30 11:37:36 +08:00
parent 82c538fb03
commit 9b0404a207
6 changed files with 40 additions and 23 deletions

View File

@@ -27,7 +27,6 @@ public class ReplenishMybatisServiceImpl<M extends BatchBaseMapper<T>, T> extend
if (idxLimit == size) {
int times = totalCount / idxLimit + 1;
for (int i = 1; i <= times; i++) {
System.out.printf("第%d次分片%n", i);
if (totalCount >= idxLimit) {
List<T> temp = dataTemp.subList(0, idxLimit);
this.baseMapper.insertBatchSomeColumn(temp);