From ee11117fd7bc603ca58d45ecf57e0fd8cffe6e1c Mon Sep 17 00:00:00 2001 From: zlyx <1242874891@qq.com> Date: 星期二, 31 一月 2023 10:36:18 +0800 Subject: [PATCH] update 更新 xxljob & monitor docker 基础镜像 alpine-java:8 -> graalvm java17 ; --- ruoyi-common/ruoyi-common-idempotent/src/main/java/com/ruoyi/common/idempotent/aspectj/RepeatSubmitAspect.java | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/ruoyi-common/ruoyi-common-idempotent/src/main/java/com/ruoyi/common/idempotent/aspectj/RepeatSubmitAspect.java b/ruoyi-common/ruoyi-common-idempotent/src/main/java/com/ruoyi/common/idempotent/aspectj/RepeatSubmitAspect.java index b5d3564..f7cbf31 100644 --- a/ruoyi-common/ruoyi-common-idempotent/src/main/java/com/ruoyi/common/idempotent/aspectj/RepeatSubmitAspect.java +++ b/ruoyi-common/ruoyi-common-idempotent/src/main/java/com/ruoyi/common/idempotent/aspectj/RepeatSubmitAspect.java @@ -78,9 +78,8 @@ */ @AfterReturning(pointcut = "@annotation(repeatSubmit)", returning = "jsonResult") public void doAfterReturning(JoinPoint joinPoint, RepeatSubmit repeatSubmit, Object jsonResult) { - if (jsonResult instanceof R) { + if (jsonResult instanceof R r) { try { - R<?> r = (R<?>) jsonResult; // 鎴愬姛鍒欎笉鍒犻櫎redis鏁版嵁 淇濊瘉鍦ㄦ湁鏁堟椂闂村唴鏃犳硶閲嶅鎻愪氦 if (r.getCode() == R.SUCCESS) { return; -- Gitblit v1.9.3