1.增加配网用户侧算法适配
2.新增河北用户侧数据完整性接口 3.新增河北用户侧越限详情接口
This commit is contained in:
@@ -146,6 +146,9 @@ public interface CommTerminalGeneralClient {
|
||||
@PostMapping("/getAllLineOverLimit")
|
||||
HttpResult<List<Overlimit>> getAllLineOverLimit();
|
||||
|
||||
@PostMapping("/getOverLimitDataByIds")
|
||||
HttpResult<List<Overlimit>> getOverLimitDataByIds(@RequestBody List<String> ids);
|
||||
|
||||
/**
|
||||
* @Description: 获取变电站下监测点信息
|
||||
* @param devDataType
|
||||
|
||||
@@ -15,6 +15,7 @@ import com.njcn.device.biz.utils.DeviceEnumUtil;
|
||||
import feign.hystrix.FallbackFactory;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.stereotype.Component;
|
||||
import org.springframework.web.bind.annotation.RequestBody;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
@@ -109,6 +110,12 @@ public class CommTerminalGeneralClientFallbackFactory implements FallbackFactory
|
||||
throw new BusinessException(finalExceptionEnum);
|
||||
}
|
||||
|
||||
@Override
|
||||
public HttpResult<List<Overlimit>> getOverLimitDataByIds(@RequestBody List<String> ids) {
|
||||
log.error("{}异常,降级处理,异常为:{}", "通过监测点集合获取监测点限值", throwable.toString());
|
||||
throw new BusinessException(finalExceptionEnum);
|
||||
}
|
||||
|
||||
@Override
|
||||
public HttpResult<Map<String, List<String>>> getLineBySubstationRelation(Integer devDataType) {
|
||||
log.error("{}异常,降级处理,异常为:{}", "获取变电站下监测点信息", throwable.toString());
|
||||
|
||||
Reference in New Issue
Block a user