From 84fbcb26daef3751e6008563391a861b6e6a6686 Mon Sep 17 00:00:00 2001 From: yjz <3131811435@qq.com> Date: Thu, 8 Aug 2024 19:47:08 +0800 Subject: [PATCH] =?UTF-8?q?fix(88301):=20=E6=A0=87=E5=87=86=E8=A7=A3?= =?UTF-8?q?=E8=AF=BB=E6=B5=81=E7=A8=8B--=E5=88=86=E5=8F=91=E8=8A=82?= =?UTF-8?q?=E7=82=B9=E9=A9=B3=E5=9B=9E=E5=90=8E=E5=88=A0=E9=99=A4=E6=8F=90?= =?UTF-8?q?=E4=BA=A4=EF=BC=8C=E4=B8=80=E7=9B=B4=E5=88=B0=E5=88=86=E5=8F=91?= =?UTF-8?q?=E8=8A=82=E7=82=B9=E5=AD=98=E5=9C=A8=E4=B8=A4=E4=B8=AA=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../service/impl/StandardInterpretFlowServiceImpl.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/laws-modules/src/main/java/com/jero/modules/activiti/process/standardinterpret/service/impl/StandardInterpretFlowServiceImpl.java b/laws-modules/src/main/java/com/jero/modules/activiti/process/standardinterpret/service/impl/StandardInterpretFlowServiceImpl.java index ac40c08e..5de7709f 100644 --- a/laws-modules/src/main/java/com/jero/modules/activiti/process/standardinterpret/service/impl/StandardInterpretFlowServiceImpl.java +++ b/laws-modules/src/main/java/com/jero/modules/activiti/process/standardinterpret/service/impl/StandardInterpretFlowServiceImpl.java @@ -1727,8 +1727,12 @@ public class StandardInterpretFlowServiceImpl implements StandardInterpretFlowSe if (count > 0){ throw new JeroBootException(ResultCommon.PROCESS_ALREADY_DISTRIBUTED); } + processStandardInterpret.setDistribute(null); + processStandardInterpretService.update( + new LambdaUpdateWrapper() + .eq(ProcessStandardInterpret::getId, processStandardInterpret.getId()) + .set(ProcessStandardInterpret::getDistribute, null)); } - processStandardInterpretService.updateById(processStandardInterpret); break; // 解读人填写信息(分发)