监测脚本排序调整

This commit is contained in:
2025-04-21 11:31:08 +08:00
parent 484f9c9f4c
commit 496cff6c11

View File

@@ -1714,7 +1714,9 @@ public class SocketDevResponseService {
adNonHarmonicResultList.add(adNonHarmonicResult); adNonHarmonicResultList.add(adNonHarmonicResult);
} }
} else { } else {
for (DevData.SqlDataHarmDTO sqlDataDTO : data.getSqlDataHarm()) { for(int j=0;j<data.getSqlDataHarm().size();j++){
DevData.SqlDataHarmDTO sqlDataDTO = data.getSqlDataHarm().get(j);
AdHarmonicResult adHarmonicResult = new AdHarmonicResult(); AdHarmonicResult adHarmonicResult = new AdHarmonicResult();
adHarmonicResult.setTimeId(localDateTime); adHarmonicResult.setTimeId(localDateTime);
@@ -1726,7 +1728,7 @@ public class SocketDevResponseService {
if (!DicDataEnum.HSV.getCode().equals(sourceIssue.getType()) && !DicDataEnum.HSI.getCode().equals(sourceIssue.getType()) && !DicDataEnum.HP.getCode().equals(sourceIssue.getType())) { if (!DicDataEnum.HSV.getCode().equals(sourceIssue.getType()) && !DicDataEnum.HSI.getCode().equals(sourceIssue.getType()) && !DicDataEnum.HP.getCode().equals(sourceIssue.getType())) {
if (CollUtil.isNotEmpty(data.getSqlData())) { if (CollUtil.isNotEmpty(data.getSqlData())) {
DevData.SqlDataDTO.ListDTO vvv = data.getSqlData().get(0).getList(); DevData.SqlDataDTO.ListDTO vvv = data.getSqlData().get(j).getList();
Double aV = vvv.getA(); Double aV = vvv.getA();
Double bV = vvv.getB(); Double bV = vvv.getB();
Double cV = vvv.getC(); Double cV = vvv.getC();