初始版本提交
This commit is contained in:
@@ -200,6 +200,7 @@ public class LargeScreenCountServiceImpl implements LargeScreenCountService {
|
|||||||
List<String> eventIds = eventdetails.stream().map(PqsEventdetail::getEventdetailIndex).collect(Collectors.toList());
|
List<String> eventIds = eventdetails.stream().map(PqsEventdetail::getEventdetailIndex).collect(Collectors.toList());
|
||||||
//通知
|
//通知
|
||||||
List<MsgEventInfo> msgEventInfoList = new ArrayList<>();
|
List<MsgEventInfo> msgEventInfoList = new ArrayList<>();
|
||||||
|
if(!CollectionUtils.isEmpty(eventIds)){
|
||||||
if(eventIds.size()>1000){
|
if(eventIds.size()>1000){
|
||||||
List<List<String>> listEven = CollUtil.split(eventIds,1000);
|
List<List<String>> listEven = CollUtil.split(eventIds,1000);
|
||||||
for(List<String> pList: listEven){
|
for(List<String> pList: listEven){
|
||||||
@@ -210,6 +211,8 @@ public class LargeScreenCountServiceImpl implements LargeScreenCountService {
|
|||||||
List<MsgEventInfo> temp = msgEventInfoService.lambdaQuery().in(MsgEventInfo::getEventIndex,eventIds).list();
|
List<MsgEventInfo> temp = msgEventInfoService.lambdaQuery().in(MsgEventInfo::getEventIndex,eventIds).list();
|
||||||
msgEventInfoList.addAll(temp);
|
msgEventInfoList.addAll(temp);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user