From 304eef5f95d139f6388bbccb473a91d4c5ed4b27 Mon Sep 17 00:00:00 2001 From: XaoLi717 <144221124+XaoLi717@users.noreply.github.com> Date: Tue, 24 Dec 2024 12:01:27 +0800 Subject: [PATCH] =?UTF-8?q?=E8=80=83=E5=8B=A4=E9=94=80=E5=81=87bug?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../iocoder/yudao/module/home/service/kqgl/KqglServiceImpl.java | 1 + .../iocoder/yudao/module/home/service/xjgl/XjglServiceImpl.java | 1 + 2 files changed, 2 insertions(+) diff --git a/yudao-module-home/yudao-module-home-biz/src/main/java/cn/iocoder/yudao/module/home/service/kqgl/KqglServiceImpl.java b/yudao-module-home/yudao-module-home-biz/src/main/java/cn/iocoder/yudao/module/home/service/kqgl/KqglServiceImpl.java index 2d7c189..d7afb7a 100644 --- a/yudao-module-home/yudao-module-home-biz/src/main/java/cn/iocoder/yudao/module/home/service/kqgl/KqglServiceImpl.java +++ b/yudao-module-home/yudao-module-home-biz/src/main/java/cn/iocoder/yudao/module/home/service/kqgl/KqglServiceImpl.java @@ -49,6 +49,7 @@ public class KqglServiceImpl implements KqglService { .setUserId(userId).setStatus(BpmTaskStatusEnum.RUNNING.getStatus()); if (createReqVO.getCurfullpath().contains("?") ) { kqglMapper.updateById(kqgl); + createReqVO.setCurfullpath( createReqVO.getCurfullpath().replaceAll("\\?id=\\d+", "")); } else { kqglMapper.insert(kqgl); } diff --git a/yudao-module-home/yudao-module-home-biz/src/main/java/cn/iocoder/yudao/module/home/service/xjgl/XjglServiceImpl.java b/yudao-module-home/yudao-module-home-biz/src/main/java/cn/iocoder/yudao/module/home/service/xjgl/XjglServiceImpl.java index e96b68e..a38f75c 100644 --- a/yudao-module-home/yudao-module-home-biz/src/main/java/cn/iocoder/yudao/module/home/service/xjgl/XjglServiceImpl.java +++ b/yudao-module-home/yudao-module-home-biz/src/main/java/cn/iocoder/yudao/module/home/service/xjgl/XjglServiceImpl.java @@ -58,6 +58,7 @@ public class XjglServiceImpl implements XjglService { .setUserId(userId).setStatus(BpmTaskStatusEnum.RUNNING.getStatus()); if (createReqVO.getCurfullpath().contains("?") ) { xjglMapper.updateById(xjgl); + createReqVO.setCurfullpath( createReqVO.getCurfullpath().replaceAll("\\?id=\\d+", "")); } else { xjglMapper.insert(xjgl); }