冀北监测点试运行功能调整
This commit is contained in:
@@ -20,4 +20,7 @@ public interface TempLineRunTestFeignClient {
|
||||
@GetMapping("/updateStatus")
|
||||
HttpResult<Object> updateStatus(@RequestParam("businessKey") String businessKey, @RequestParam("status")Integer status);
|
||||
|
||||
@GetMapping("/isTestRunStartOrEnd")
|
||||
void isTestRunStartOrEnd();
|
||||
|
||||
}
|
||||
|
||||
@@ -33,6 +33,12 @@ public class TempLineRunTestFeignClientFallbackFactory implements FallbackFactor
|
||||
log.error("{}异常,降级处理,异常为:{}", "更新流程状态", throwable.toString());
|
||||
throw new BusinessException(finalExceptionEnum);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void isTestRunStartOrEnd() {
|
||||
log.error("{}异常,降级处理,异常为:{}", "定时判断试运行是否结束", throwable.toString());
|
||||
throw new BusinessException(finalExceptionEnum);
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user