初始版本提交
This commit is contained in:
@@ -126,7 +126,7 @@ public class LargeScreenCountServiceImpl implements LargeScreenCountService {
|
|||||||
List<Integer> runSubList = list.stream().map(PqDevice::getSubIndex).distinct().collect(Collectors.toList());
|
List<Integer> runSubList = list.stream().map(PqDevice::getSubIndex).distinct().collect(Collectors.toList());
|
||||||
long runSubCount = runSubList.stream().count();
|
long runSubCount = runSubList.stream().count();
|
||||||
List<LedgerBaseInfoDTO> ledgerBaseInfoDTOS = pqLineService.getBaseLineInfo(allLineIds);
|
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();
|
long runLineCount = runLineList.stream().count();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user