This commit is contained in:
wr
2024-12-19 10:13:59 +08:00
parent 1e7647dadc
commit 7d88776633
7 changed files with 48 additions and 5 deletions

View File

@@ -90,6 +90,18 @@ public class PreDetection {
*/
@JSONField(name = "line")
private Integer line;
/**
* 监测点线路号
*/
@JSONField(name = "pt")
private Integer pt;
/**
* 监测点线路号
*/
@JSONField(name = "pt")
private Integer ct;
}
public String getDevKey() {

View File

@@ -413,6 +413,8 @@ public class PqDevServiceImpl extends ServiceImpl<PqDevMapper, PqDev> implements
monitorListDTO=new PreDetection.MonitorListDTO();
monitorListDTO.setLineId(preDetection.getDevIP()+"_"+i);
monitorListDTO.setLine(i);
monitorListDTO.setPt(1);
monitorListDTO.setPt(1);
monitorList.add(monitorListDTO);
}
preDetection.setMonitorList(monitorList);

View File

@@ -6,7 +6,9 @@
resultType="com.njcn.gather.device.device.pojo.vo.PreDetection$MonitorListDTO">
SELECT
Id as lineId,
Num as line
Num as line,
pt as pt,
ct as ct
FROM
pq_monitor
WHERE