批量插入 50个

This commit is contained in:
2025-11-28 17:47:32 +08:00
parent 002a34042b
commit e80bf9a39e

View File

@@ -34,7 +34,7 @@ public class BkContactListServiceImpl extends ServiceImpl<BkContactListMapper, B
return bkContact; return bkContact;
}) })
.collect(Collectors.toList()); .collect(Collectors.toList());
mapper.insertBatch(collect); mapper.insertBatch(collect, 50);
return mapper.getUserList(shopId); return mapper.getUserList(shopId);
} }
} }