有功功率趋势2

This commit is contained in:
guofeihu
2024-08-29 16:30:46 +08:00
parent ee1f36617d
commit e13b1f156e
15 changed files with 320 additions and 62 deletions

View File

@@ -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);
}

View File

@@ -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);
}
};
}
}