| | |
| | | public void getAccessory(){ |
| | | // parentId = 'a2K0l000000wyICEAY'; |
| | | |
| | | //lwc改造 |
| | | // 20231103 Lightning文件修改 Start |
| | | List<ContentDocumentLink> cdlList = [SELECT ContentDocumentId |
| | | FROM ContentDocumentLink |
| | | WHERE LinkedEntityId = :parentId]; |
| | |
| | | |
| | | // String soql = 'SELECT Name,id,parentId,ContentType from Attachment where parentId = :parentId order by createddate desc'; |
| | | // List<Attachment> acc = Database.query(soql); |
| | | // 20231103 Lightning文件修改 End |
| | | Map<String,String> identifierMap = new Map<String,String>(); |
| | | if(acc != null && acc.size() > 0){ |
| | | for(Integer i = 0;i<acc.size();i++){ |