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

This commit is contained in:
wangli 2025-02-24 18:14:57 +08:00
parent 36386a4e4e
commit fa63dc1ebb

View File

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