冀北监测点试运行功能调整

This commit is contained in:
cdf
2024-05-22 19:52:19 +08:00
parent af3d231352
commit 8e83a6b35e
9 changed files with 65 additions and 14 deletions

View File

@@ -20,4 +20,7 @@ public interface TempLineRunTestFeignClient {
@GetMapping("/updateStatus")
HttpResult<Object> updateStatus(@RequestParam("businessKey") String businessKey, @RequestParam("status")Integer status);
@GetMapping("/isTestRunStartOrEnd")
void isTestRunStartOrEnd();
}

View File

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