|
|
|
@ -110,7 +110,21 @@ public class ShiBeiScreenCollServiceImpl implements ShiBeiScreenCollService { |
|
|
|
} while (deleteNum != NumConstant.ZERO); |
|
|
|
} |
|
|
|
if (!CollectionUtils.isEmpty(formDTO.getDataList())) { |
|
|
|
screenPartyUserRankDataDao.batchInsertPartyUserRankData(formDTO.getDataList(), customerId); |
|
|
|
List<PartyUserRankDataFormDTO> list = new ArrayList<>(); |
|
|
|
formDTO.getDataList().forEach(item -> { |
|
|
|
if (StringUtils.isEmpty(item.getGridId())) { |
|
|
|
log.warn("gridId is null,userId:{}", item.getUserId()); |
|
|
|
return; |
|
|
|
} |
|
|
|
list.add(item); |
|
|
|
if (list.size() == NumConstant.ONE_HUNDRED) { |
|
|
|
screenPartyUserRankDataDao.batchInsertPartyUserRankData(list, customerId); |
|
|
|
list.clear(); |
|
|
|
} |
|
|
|
}); |
|
|
|
if (list.size() > NumConstant.ZERO) { |
|
|
|
screenPartyUserRankDataDao.batchInsertPartyUserRankData(list, customerId); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|