修改字段
This commit is contained in:
@@ -36,7 +36,7 @@ public class SupervisionTempDeviceReportParam {
|
||||
* 0 关联系统内变电站;1用户手动输入变电站
|
||||
*/
|
||||
@ApiModelProperty(value = " 0 关联系统内变电站;1用户手动输入变电站")
|
||||
private Integer customubstaionlag;
|
||||
private Integer customSubstaionflag;
|
||||
|
||||
/**
|
||||
* 所属变电站
|
||||
|
||||
@@ -36,7 +36,7 @@ public class SupervisionTempDeviceReport {
|
||||
* 0 关联系统内变电站;1用户手动输入变电站
|
||||
*/
|
||||
@TableField(value = "custom_substaion_flag")
|
||||
private Integer customubstaionlag;
|
||||
private Integer customSubstaionflag;
|
||||
|
||||
|
||||
/**
|
||||
|
||||
@@ -205,7 +205,7 @@ public class SupervisionTempLineDebugPOServiceImpl extends ServiceImpl<Supervisi
|
||||
SyncTerminalParam syncTerminalParam = new SyncTerminalParam();
|
||||
//用于绑定监测点部门
|
||||
syncTerminalParam.setDeptId(tempDevice.getPowerCompany());
|
||||
if(tempDevice.getCustomubstaionlag()==0){
|
||||
if(tempDevice.getCustomSubstaionflag()==0){
|
||||
List<Line> data = lineFeignClient.getBaseLineList(Stream.of(tempDevice.getSubstation()).collect(Collectors.toList())).getData();
|
||||
String pids = data.get(0).getPids();
|
||||
String[] idsArray = pids.split(",");
|
||||
@@ -231,6 +231,7 @@ public class SupervisionTempLineDebugPOServiceImpl extends ServiceImpl<Supervisi
|
||||
subStationParam.setName(tempDevice.getSubstationName());
|
||||
subStationParam.setSort(0);
|
||||
subStationParam.setScale(tempDevice.getSubstationVoltageLevel());
|
||||
syncTerminalParam.setSubStationParam(subStationParam);
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user