19626
2023-10-31 fd9df05c48c09b4d7f39a3b401882bda226dedea
force-app/main/default/classes/MaintenanceUpdateProductHandler.cls
@@ -73,8 +73,10 @@
                }   
            }
            for(String id:mpdIds){
                // 20231103 chenjingwu  Lightning文件修改 Start
                List<ContentDocumentLink> linksinfo = [select Id from ContentDocumentLink where LinkedEntityId =: id];
                // List<Attachment> attachmentinfo = [SELECT Id, Name,OwnerId FROM Attachment WHERE  parentid  =:mpdIds ];
                // 20231103 chenjingwu  Lightning文件修改 End
                if(linksinfo.size() ==0){
                    attachmentSize = true;
                }