治理设备管理功能
This commit is contained in:
@@ -34,4 +34,7 @@ public interface EpdFeignClient {
|
||||
@PostMapping("/selectById")
|
||||
HttpResult<EleEpdPqd> selectById(@RequestParam("id") String id);
|
||||
|
||||
@PostMapping("/selectByIds")
|
||||
HttpResult<List<EleEpdPqd>> selectByIds(@RequestBody List<String> ids);
|
||||
|
||||
}
|
||||
|
||||
@@ -57,6 +57,12 @@ public class EpdFeignClientFallbackFactory implements FallbackFactory<EpdFeignCl
|
||||
log.error("{}异常,降级处理,异常为:{}","根据id查询字典数据",cause.toString());
|
||||
throw new BusinessException(finalExceptionEnum);
|
||||
}
|
||||
|
||||
@Override
|
||||
public HttpResult<List<EleEpdPqd>> selectByIds(List<String> ids) {
|
||||
log.error("{}异常,降级处理,异常为:{}","根据ids查询字典数据",cause.toString());
|
||||
throw new BusinessException(finalExceptionEnum);
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user