初始版本提交

This commit is contained in:
hzj
2025-06-30 10:15:06 +08:00
parent a0148badaf
commit 6442219087

View File

@@ -200,6 +200,7 @@ public class LargeScreenCountServiceImpl implements LargeScreenCountService {
List<String> eventIds = eventdetails.stream().map(PqsEventdetail::getEventdetailIndex).collect(Collectors.toList());
//通知
List<MsgEventInfo> msgEventInfoList = new ArrayList<>();
if(!CollectionUtils.isEmpty(eventIds)){
if(eventIds.size()>1000){
List<List<String>> listEven = CollUtil.split(eventIds,1000);
for(List<String> pList: listEven){
@@ -210,6 +211,8 @@ public class LargeScreenCountServiceImpl implements LargeScreenCountService {
List<MsgEventInfo> temp = msgEventInfoService.lambdaQuery().in(MsgEventInfo::getEventIndex,eventIds).list();
msgEventInfoList.addAll(temp);
}
}