|
|
|
@ -125,6 +125,7 @@ public class GetInformationForExcelServiceImpl extends ServiceImpl<GetInformatio |
|
|
|
//批量新增 |
|
|
|
getInformationForExcelMapper.saveByExcels(equipmentDataDetails); |
|
|
|
}else { |
|
|
|
|
|
|
|
// 创建一个固定大小的线程池,这里假设有10个线程 |
|
|
|
ExecutorService executor = Executors.newFixedThreadPool(equipmentDataDetails.size()/100); |
|
|
|
int startList =0; |
|
|
|
|