中车电站数据融合
This commit is contained in:
@ -77,4 +77,9 @@ public interface BusinessFeignClient {
|
||||
|
||||
@PostMapping(value = ContextConstant.ROOT_CONTEXT + ContextConstant.BUSINESS + "shipEnergyStation/getStationIncomeHis")
|
||||
void jobCacheShipEleIncome(@RequestBody String dateTime);
|
||||
|
||||
@PostMapping(value = ContextConstant.ROOT_CONTEXT + ContextConstant.BUSINESS + "boulderEnergyStation/getBoulderEleIncome")
|
||||
void jobBoulderEleIncome(@RequestBody String dateTime);
|
||||
|
||||
|
||||
}
|
||||
|
||||
@ -123,4 +123,9 @@ public class BusinessFeignClientFallback implements BusinessFeignClient {
|
||||
throw new BusinessException(BaseResponseCode.FEIGN_CALL_FAIL);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void jobBoulderEleIncome(String dateTime) {
|
||||
log.error("BusinessFeignClient.jobBoulderEleIncome error!");
|
||||
throw new BusinessException(BaseResponseCode.FEIGN_CALL_FAIL);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user