package com.yssh.service; import java.util.List; import java.util.concurrent.CountDownLatch; import com.yssh.dao.BaseMapper; public interface IAsyncService { final Integer BATCH_INSERT_NUMBER = 1000; final Integer BATCH_INSERT_500 = 500; void executeAsync(String tableName, List lists, BaseMapper mapper, CountDownLatch countDownLatch); }