sql优化

This commit is contained in:
hzj
2025-08-11 15:30:54 +08:00
parent f1777f8bf1
commit 09d2911c4c
2 changed files with 3 additions and 2 deletions

View File

@@ -55,6 +55,7 @@ public class SubStationCountVO {
private String stationName;
//通讯状态
private Integer runFlag=0;
private Integer eventCount;
private List<PqsEventdetail> pqsEventdetails;
}

View File

@@ -1040,8 +1040,8 @@ public class LargeScreenCountServiceImpl implements LargeScreenCountService {
SubStationCountVO.LineEventDetail lineEventDetail = new SubStationCountVO.LineEventDetail();
LedgerBaseInfoDTO ledgerBaseInfoDTO = ledgerBaseInfoDTOMap.get(k1);
BeanUtils.copyProperties(ledgerBaseInfoDTO,lineEventDetail);
lineEventDetail.setPqsEventdetails(v1);
lineEventDetail.setEventCount(v1.size());
// lineEventDetail.setPqsEventdetails(v1);
lineEventDetails.add(lineEventDetail);
});
subStationCountVO.setLineEventDetails(lineEventDetails);