超标原因字段调整

This commit is contained in:
dengwc 2024-04-19 16:39:20 +08:00
parent ca0b82a5a8
commit 11a405ca25
1 changed files with 1 additions and 2 deletions

View File

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