device代码添加字段

This commit is contained in:
2023-08-04 09:26:26 +08:00
parent 13d5d73ce1
commit 310b4c64a8
3 changed files with 26 additions and 1 deletions

View File

@@ -53,6 +53,11 @@ public class LineDevGetDTO {
*/
private Integer lineType;
/**
* pq返回干扰源类型 pms主网返回监测对象类型配网返回监测点类别
*/
private String lineTag;
/**
* 装置通讯状态
*/

View File

@@ -25,10 +25,12 @@
pq_dept_line.id unitId,
point.id pointId,
lineDetail.Time_Interval as `interval`,
lineDetail.load_type lineTag,
dic.value voltageLevel,
dev.id devId,
device.com_flag comFlag,
1 as lineType
1 as lineType,
0 as type
</if>
<!--母线-->
<if test="type == 2">