有功功率趋势2
This commit is contained in:
@@ -55,4 +55,7 @@ public interface EpdFeignClient {
|
||||
|
||||
@PostMapping("/findByName")
|
||||
HttpResult<EleEpdPqd> findByName(@RequestParam("name") String name);
|
||||
|
||||
@PostMapping("/findListByShowName")
|
||||
HttpResult<List<EleEpdPqd>> findListByShowName(@RequestParam("name") String name);
|
||||
}
|
||||
|
||||
@@ -100,6 +100,12 @@ public class EpdFeignClientFallbackFactory implements FallbackFactory<EpdFeignCl
|
||||
log.error("{}异常,降级处理,异常为:{}","根据名称查询字典信息",cause.toString());
|
||||
throw new BusinessException(finalExceptionEnum);
|
||||
}
|
||||
|
||||
@Override
|
||||
public HttpResult<List<EleEpdPqd>> findListByShowName(String name) {
|
||||
log.error("{}异常,降级处理,异常为:{}","根据名称查询字典信息集合",cause.toString());
|
||||
throw new BusinessException(finalExceptionEnum);
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user