From 11a405ca259e5b177492957dfdf0c5a481ddd8fa Mon Sep 17 00:00:00 2001 From: dengwc Date: Fri, 19 Apr 2024 16:39:20 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B6=85=E6=A0=87=E5=8E=9F=E5=9B=A0=E5=AD=97?= =?UTF-8?q?=E6=AE=B5=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/chint/domain/service/BPMOrderDomainService.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/java/com/chint/domain/service/BPMOrderDomainService.java b/src/main/java/com/chint/domain/service/BPMOrderDomainService.java index 08102804..78446b8e 100644 --- a/src/main/java/com/chint/domain/service/BPMOrderDomainService.java +++ b/src/main/java/com/chint/domain/service/BPMOrderDomainService.java @@ -119,8 +119,7 @@ public class BPMOrderDomainService { case LEG_TYPE_OTHER -> bpmParamFactory.creatAuditParamByOther(orderDetail); default -> throw new NotFoundException(CommonMessageConstant.NOT_FOUND); }; - String currentReason = exceedStandardDto.getReason(); - if (StringUtils.isBlank(currentReason)) { + if (StringUtils.isNotBlank(command.getReason())) { exceedStandardDto.setReason(command.getReason()); } DelayDispatch.attemptToSend(() -> bpmRequest.exceedStandard(exceedStandardDto, sysCode, employeeNo, accountCompany).getSuccess(),