pms单位修改同步修改台账中的单位信息
bug
This commit is contained in:
@@ -3,6 +3,7 @@ package com.njcn.device.pms.api;
|
||||
import com.njcn.common.pojo.constant.ServerInfo;
|
||||
import com.njcn.common.pojo.response.HttpResult;
|
||||
import com.njcn.device.pms.api.fallback.DistributionMonitorClientFallbackFactory;
|
||||
import com.njcn.device.pms.pojo.dto.PwPmsMonitorDTO;
|
||||
import com.njcn.device.pms.pojo.po.DistributionMonitor;
|
||||
import com.njcn.device.pms.pojo.vo.DoubleUserVO;
|
||||
import org.springframework.cloud.openfeign.FeignClient;
|
||||
@@ -47,4 +48,8 @@ public interface DistributionMonitorClient {
|
||||
*/
|
||||
@PostMapping("distributionMonitorListByCondition")
|
||||
public HttpResult<List<DistributionMonitor>> distributionMonitorListByCondition(@RequestParam("orgId")String orgId,@RequestParam("monitorSort")String monitorSort);
|
||||
|
||||
@PostMapping("pwMonitorAreaDetailInfo")
|
||||
HttpResult<List<PwPmsMonitorDTO>> pwMonitorAreaDetailInfo(@RequestBody List<String> monitorIds);
|
||||
|
||||
}
|
||||
|
||||
@@ -4,6 +4,7 @@ import com.njcn.common.pojo.enums.response.CommonResponseEnum;
|
||||
import com.njcn.common.pojo.exception.BusinessException;
|
||||
import com.njcn.common.pojo.response.HttpResult;
|
||||
import com.njcn.device.pms.api.DistributionMonitorClient;
|
||||
import com.njcn.device.pms.pojo.dto.PwPmsMonitorDTO;
|
||||
import com.njcn.device.pms.pojo.po.DistributionMonitor;
|
||||
import com.njcn.device.pms.pojo.vo.DoubleUserVO;
|
||||
import com.njcn.device.pms.utils.PmsDeviceEnumUtil;
|
||||
@@ -52,6 +53,12 @@ public class DistributionMonitorClientFallbackFactory implements FallbackFactory
|
||||
throw new BusinessException(finalExceptionEnum);
|
||||
}
|
||||
|
||||
@Override
|
||||
public HttpResult<List<PwPmsMonitorDTO>> pwMonitorAreaDetailInfo(List<String> monitorIds) {
|
||||
log.error("{}异常,降级处理,异常为:{}", "根据配网监测点集合获取配网监测点详情", throwable.toString());
|
||||
throw new BusinessException(finalExceptionEnum);
|
||||
}
|
||||
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -131,14 +131,12 @@ public class MonitorParam {
|
||||
* 电压偏差限值(上)
|
||||
*/
|
||||
@ApiModelProperty(value = "电压偏差限值(上)")
|
||||
@NotNull(message = "电压偏差限值(上)不可为空")
|
||||
private Float voltageDeviationUpperLimit;
|
||||
|
||||
/**
|
||||
* 电压偏差限值(下)
|
||||
*/
|
||||
@ApiModelProperty(value = "电压偏差限值(下)")
|
||||
@NotNull(message = "电压偏差限值(下)不可为空")
|
||||
private Float voltageDeviationLowerLimit;
|
||||
|
||||
/**
|
||||
|
||||
@@ -1,55 +0,0 @@
|
||||
package com.njcn.device.pms.pojo.po;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* (RMpEventDetail)实体类
|
||||
*
|
||||
* @author yzh
|
||||
* @since 2022-10-12 18:34:55
|
||||
*/
|
||||
@Data
|
||||
public class RmpEventDetailPO implements Serializable {
|
||||
private static final long serialVersionUID = 717547299960041571L;
|
||||
/**
|
||||
* 暂时事件ID
|
||||
*/
|
||||
private String eventId;
|
||||
/**
|
||||
* 监测点ID
|
||||
*/
|
||||
private String measurementPointId;
|
||||
/**
|
||||
* 事件类型
|
||||
*/
|
||||
private String eventType;
|
||||
/**
|
||||
* 开始时间
|
||||
*/
|
||||
private Long startTime;
|
||||
/**
|
||||
* 持续时间
|
||||
*/
|
||||
private Double duration;
|
||||
/**
|
||||
* 特征幅值
|
||||
*/
|
||||
private Double featureAmplitude;
|
||||
/**
|
||||
* 相别
|
||||
*/
|
||||
private String phase;
|
||||
/**
|
||||
* 事件描述
|
||||
*/
|
||||
private String eventDescribe;
|
||||
/**
|
||||
* 波形路径
|
||||
*/
|
||||
private String wavePath;
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user