feat(REQ-4468) - 调整查询日志时,兼容老数据没有提级审批的设置问题

This commit is contained in:
wangli 2025-07-02 10:10:51 +08:00
parent 540e66b7f3
commit 566855725e

View File

@ -1409,7 +1409,7 @@ public class BpmnProcessInstanceServiceImpl implements BpmnProcessInstanceServic
.findAny()
.ifPresent(i -> {
authorizedButtons.addAll(chooseButtons(logVO, CONFIG_BUTTON_TYPE_CURRENT));
supportUpgrade.set(i.getSupportUpgradeApproval());
supportUpgrade.set(Objects.equals(Boolean.TRUE,i.getSupportUpgradeApproval()));
});