初始版本提交

This commit is contained in:
hzj
2025-07-03 11:13:17 +08:00
parent f1f86ea854
commit 0eabe977cb

View File

@@ -126,7 +126,7 @@ public class LargeScreenCountServiceImpl implements LargeScreenCountService {
List<Integer> runSubList = list.stream().map(PqDevice::getSubIndex).distinct().collect(Collectors.toList());
long runSubCount = runSubList.stream().count();
List<LedgerBaseInfoDTO> ledgerBaseInfoDTOS = pqLineService.getBaseLineInfo(allLineIds);
List<Integer> runLineList = ledgerBaseInfoDTOS.stream().filter(temp->Objects.equals(temp.getStatus(),1)).map(LedgerBaseInfoDTO::getLineId).collect(Collectors.toList());
List<Integer> runLineList = ledgerBaseInfoDTOS.stream().filter(temp->Objects.equals(temp.getRunFlag(),1)).map(LedgerBaseInfoDTO::getLineId).collect(Collectors.toList());
long runLineCount = runLineList.stream().count();