超标原因字段调整
This commit is contained in:
parent
ca0b82a5a8
commit
11a405ca25
|
@ -119,8 +119,7 @@ public class BPMOrderDomainService {
|
||||||
case LEG_TYPE_OTHER -> bpmParamFactory.creatAuditParamByOther(orderDetail);
|
case LEG_TYPE_OTHER -> bpmParamFactory.creatAuditParamByOther(orderDetail);
|
||||||
default -> throw new NotFoundException(CommonMessageConstant.NOT_FOUND);
|
default -> throw new NotFoundException(CommonMessageConstant.NOT_FOUND);
|
||||||
};
|
};
|
||||||
String currentReason = exceedStandardDto.getReason();
|
if (StringUtils.isNotBlank(command.getReason())) {
|
||||||
if (StringUtils.isBlank(currentReason)) {
|
|
||||||
exceedStandardDto.setReason(command.getReason());
|
exceedStandardDto.setReason(command.getReason());
|
||||||
}
|
}
|
||||||
DelayDispatch.attemptToSend(() -> bpmRequest.exceedStandard(exceedStandardDto, sysCode, employeeNo, accountCompany).getSuccess(),
|
DelayDispatch.attemptToSend(() -> bpmRequest.exceedStandard(exceedStandardDto, sysCode, employeeNo, accountCompany).getSuccess(),
|
||||||
|
|
Loading…
Reference in New Issue