1.单位标数据质量算法兼容修改
This commit is contained in:
@@ -59,7 +59,7 @@ public interface CommTerminalGeneralClient {
|
||||
HttpResult<List<DeptGetSubStationDTO>> deptSubStation(@RequestBody @Validated DeptGetLineParam deptGetLineParam);
|
||||
|
||||
/**
|
||||
* 根据单位获取所有变电站
|
||||
* 根据单位获取所有母线
|
||||
*
|
||||
* @author cdf
|
||||
* @date 2023/5/10
|
||||
@@ -77,6 +77,13 @@ public interface CommTerminalGeneralClient {
|
||||
@PostMapping("deptGetDevice")
|
||||
HttpResult<List<DeptGetDeviceDTO>> deptGetDevice(@RequestBody @Validated DeptGetLineParam deptGetLineParam);
|
||||
|
||||
/**
|
||||
* @Description: 根据单位获取单位下的装置以及装置下的监测点
|
||||
* @Author: wr
|
||||
* @Date: 2023/9/25 10:30
|
||||
*/
|
||||
@PostMapping("deptGetDeviceAndMonitor")
|
||||
HttpResult<List<DeptGetDeviceDTO>> deptGetDeviceAndMonitor(@RequestBody @Validated DeptGetLineParam deptGetLineParam);
|
||||
|
||||
/**
|
||||
* 根据单站id获取监测点信息
|
||||
|
||||
@@ -54,7 +54,7 @@ public class CommTerminalGeneralClientFallbackFactory implements FallbackFactory
|
||||
|
||||
@Override
|
||||
public HttpResult<List<DeptGetBusBarDTO>> deptBusBar(DeptGetLineParam deptGetLineParam) {
|
||||
log.error("{}异常,降级处理,异常为:{}", "根据单位获取所有变电站", throwable.toString());
|
||||
log.error("{}异常,降级处理,异常为:{}", "根据单位获取所有母线", throwable.toString());
|
||||
throw new BusinessException(finalExceptionEnum);
|
||||
}
|
||||
|
||||
@@ -64,6 +64,12 @@ public class CommTerminalGeneralClientFallbackFactory implements FallbackFactory
|
||||
throw new BusinessException(finalExceptionEnum);
|
||||
}
|
||||
|
||||
@Override
|
||||
public HttpResult<List<DeptGetDeviceDTO>> deptGetDeviceAndMonitor(DeptGetLineParam deptGetLineParam) {
|
||||
log.error("{}异常,降级处理,异常为:{}", "根据单位获取单位下的装置以及装置下的监测点", throwable.toString());
|
||||
throw new BusinessException(finalExceptionEnum);
|
||||
}
|
||||
|
||||
@Override
|
||||
public HttpResult<LineDevGetBandDTO> substationGetLine(String substationId) {
|
||||
log.error("{}异常,降级处理,异常为:{}", "根据单站id获取监测点信息", throwable.toString());
|
||||
|
||||
Reference in New Issue
Block a user