数据中心台账修改
This commit is contained in:
@@ -34,13 +34,5 @@ public interface TerminalBaseClient {
|
||||
HttpResult<List<Line>> getSubstationById(@RequestParam("list") List<String> list);
|
||||
|
||||
|
||||
/**
|
||||
* 获取监测点限值
|
||||
*
|
||||
* @param list 设备id集合
|
||||
* @return 监测点限值信息
|
||||
*/
|
||||
@PostMapping("getDevInfoByIds")
|
||||
HttpResult<List<TerminalBaseVO>> getDeviceByIdOnOrOff(@RequestBody List<String> list);
|
||||
|
||||
}
|
||||
|
||||
@@ -38,11 +38,6 @@ public class TerminalBaseClientFallbackFactory implements FallbackFactory<Termin
|
||||
throw new BusinessException(finalExceptionEnum);
|
||||
}
|
||||
|
||||
@Override
|
||||
public HttpResult<List<TerminalBaseVO>> getDeviceByIdOnOrOff(List<String> list) {
|
||||
log.error("{}异常,降级处理,异常为:{}", "根据设备ids获取设备详情", throwable.toString());
|
||||
throw new BusinessException(finalExceptionEnum);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -46,6 +46,9 @@ public class TerminalBaseVO {
|
||||
@ApiModelProperty("装置ip")
|
||||
private String ip;
|
||||
|
||||
@ApiModelProperty("装置型号")
|
||||
private String devType;
|
||||
|
||||
@ApiModelProperty("数据更新时间")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private String updateTime;
|
||||
|
||||
Reference in New Issue
Block a user