This commit is contained in:
linfso 2025-03-16 21:07:37 +08:00
parent 4b6a123b24
commit 14a36bfb97

View File

@ -82,7 +82,7 @@ public class EmisCommissionProfitServiceImpl extends EmisBaseService implements
List<EmisWaybill> list = emisWaybillMapper.selectWaitDoProfitList(emisWaybill);
// 多线程并发处理
if(!CollectionUtil.isEmpty(list)){
List<List<EmisWaybill> > mutiOrderList = ListUtils.partition(list, 100);
List<List<EmisWaybill> > mutiOrderList = ListUtils.partition(list, 1000);
int realGroupSize=mutiOrderList.size();
// 计数处理
@ -125,7 +125,7 @@ public class EmisCommissionProfitServiceImpl extends EmisBaseService implements
List<EmisTmsSiteBatch> list = emisTmsSiteBatchMapper.selectWaitDoProfitList(tmsSiteBatch);
// 多线程并发处理
if(!CollectionUtil.isEmpty(list)){
List<List<EmisTmsSiteBatch> > mutiBatchList = ListUtils.partition(list, 100);
List<List<EmisTmsSiteBatch> > mutiBatchList = ListUtils.partition(list, 1000);
int realGroupSize=mutiBatchList.size();
// 计数处理