1.河北修改

This commit is contained in:
cdf
2024-04-18 08:39:02 +08:00
parent ae17969569
commit eb296c18c8
11 changed files with 167 additions and 21 deletions

View File

@@ -204,6 +204,11 @@ public interface CommTerminalGeneralClient {
@PostMapping("/tagOrIdGetSub")
HttpResult<List<SubGetBase>> tagOrIdGetSub(@RequestBody SubstationParam substationParam);
@GetMapping("/runLedgerStatistic")
HttpResult<Boolean> runLedgerStatistic(@RequestParam("date")String date);
/**
* 用于返回pq 还是pms系统
*

View File

@@ -169,6 +169,12 @@ public class CommTerminalGeneralClientFallbackFactory implements FallbackFactory
throw new BusinessException(finalExceptionEnum);
}
@Override
public HttpResult<Boolean> runLedgerStatistic(String date) {
log.error("{}异常,降级处理,异常为:{}", "统计每日运行测点装置详细信息", throwable.toString());
throw new BusinessException(finalExceptionEnum);
}
@Override
public HttpResult<String> isPqOrPms() {
log.error("{}异常,降级处理,异常为:{}", "返回pq还是pms系统", throwable.toString());

View File

@@ -31,4 +31,7 @@ public class LineDTO {
@ApiModelProperty(name = "ptPhaseType",value = "监测点接线相别0单相,1三相默认三相")
private String ptPhaseType;
@ApiModelProperty(name = "objType",value = "对象类型")
private String objType;
}

View File

@@ -29,4 +29,7 @@ public class DeptGetLineParam {
@ApiModelProperty(name = "monitorStateAll",value = "true.只返回在线监测点信息 false.返回全部监测点信息")
private Boolean monitorStateRunning=true;
@ApiModelProperty(name = "isUpToGrid",value = "0.非送国网 1.需要送国网的")
private Integer isUpToGrid;
}