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(),