REQ-3982: fix bugs

This commit is contained in:
yanglin 2025-04-27 15:29:44 +08:00
parent 679a0c3bdc
commit c23b01e156

View File

@ -111,6 +111,7 @@ public class DetailCardBuilder {
if (!workflowGateway.hasPrintTemplate(detail.getWorkflowInstanceId())) {
log.info("没有打印模版, 去掉打印/用印相关按钮. workflowInstanceId={}", detail.getWorkflowInstanceId());
detail.removeButtonsOfType(WorkflowButtonType.PRINT, //
WorkflowButtonType.PRINT_PREVIEW, //
WorkflowButtonType.STAMP_PROGRESS, //
WorkflowButtonType.REQUEST_STAMP);
}