1.微调
This commit is contained in:
@@ -1,10 +1,13 @@
|
||||
package com.njcn.device.pq.pojo.po;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.njcn.db.bo.BaseEntity;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
*
|
||||
@@ -61,6 +64,8 @@ public class Line extends BaseEntity {
|
||||
private Integer state;
|
||||
|
||||
|
||||
@TableField(exist = false)
|
||||
private List<Line> children;
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -46,6 +46,9 @@ public class LineDetailDataVO {
|
||||
@ApiModelProperty(name = "devName",value = "终端名称")
|
||||
private String devName;
|
||||
|
||||
@ApiModelProperty(name = "装置型号")
|
||||
private String devType;
|
||||
|
||||
@ApiModelProperty(name = "ip",value = "网络参数")
|
||||
private String ip;
|
||||
|
||||
|
||||
@@ -49,6 +49,6 @@ public class LineDataExcel implements Serializable {
|
||||
private BigDecimal integrity;
|
||||
|
||||
@ExcelProperty(value = "国网ID")
|
||||
private BigDecimal monitorId;
|
||||
private String monitorId;
|
||||
|
||||
}
|
||||
|
||||
@@ -487,7 +487,7 @@ public class PqDataVerifyBakServiceImpl extends ServiceImpl<PqDataVerifyBakMappe
|
||||
lineDataExcel.setOnlineRate(onLineRate(onlineRateByDev, Arrays.asList(dto.getDeviceId())));
|
||||
lineDataExcel.setIntegrity(integrity(integrityList, Arrays.asList(dto.getLineId())));
|
||||
if (num == 1) {
|
||||
lineDataExcel.setMonitorId(new BigDecimal(dto.getMonitorId()));
|
||||
lineDataExcel.setMonitorId(dto.getMonitorId());
|
||||
}
|
||||
lineDataExcels1.add(lineDataExcel);
|
||||
}
|
||||
|
||||
@@ -4107,6 +4107,7 @@ public class TerminalBaseServiceImpl extends ServiceImpl<LineMapper, Line> imple
|
||||
});
|
||||
});
|
||||
} catch (Exception e) {
|
||||
log.info("台账同步推送异常:" + e);
|
||||
//出现异常,直接重启整个前置
|
||||
exFlag=true;
|
||||
for (Node node : nodes) {
|
||||
|
||||
@@ -160,6 +160,7 @@ public class LineServiceImpl extends ServiceImpl<LineMapper, Line> implements Li
|
||||
lineDetailDataVO.setIp(device.getIp());
|
||||
lineDetailDataVO.setLoginTime(device.getLoginTime());
|
||||
lineDetailDataVO.setDevId(device.getId());
|
||||
lineDetailDataVO.setDevType(device.getDevType());
|
||||
lineDetailDataVO.setBusinessType(dicDataFeignClient.getDicDataById(lineDetail.getBusinessType()).getData().getName());
|
||||
lineDetailDataVO.setLoadType(dicDataFeignClient.getDicDataById(lineDetail.getLoadType()).getData().getName());
|
||||
lineDetailDataVO.setObjId(lineDetail.getObjId());
|
||||
|
||||
Reference in New Issue
Block a user