1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
| 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;
|
| <T> void executeAsync(String tableName, List<T> lists, BaseMapper mapper, CountDownLatch countDownLatch);
|
| }
|
|