feat(REQ-3300) - 放开打印按钮的取值逻辑

This commit is contained in:
wangli 2025-02-24 18:02:29 +08:00
parent d1ca4744ec
commit 36386a4e4e

View File

@ -145,9 +145,9 @@ public class ChangeRecordConfirmServiceImpl extends ServiceImpl<ChangeRecordConf
}
}
// if(!workflowGateway.hasPrintTemplate(approvalId)) {
// visaButtonTypeEnums.remove(VisaButtonTypeEnum.PRINT);
// }
if (!workflowGateway.hasPrintTemplate(approvalId)) {
visaButtonTypeEnums.remove(VisaButtonTypeEnum.PRINT);
}
//没有点击[发起洽商群聊]则不展示[查看洽商记录]按钮
if (!changeRecordLogService.hasLogType(visaId, VisaLogTypeEnum.CHAT_GROUP)) {
visaButtonTypeEnums.remove(VisaButtonTypeEnum.CHAT_GROUP_RECORD);