| | |
| | | attachments = seekAttachment(); |
| | | } |
| | | } |
| | | public void refreshFile(){ |
| | | if(String.isBlank(id)){ |
| | | return; |
| | | } |
| | | // 20231103 Lightning文件修改 Start |
| | | List<ContentDocumentLink> cdlList = [SELECT ContentDocumentId |
| | | FROM ContentDocumentLink |
| | | WHERE LinkedEntityId = :Id]; |
| | | List<ID> fileIDs = new List<ID>(); |
| | | for (ContentDocumentLink docLink : cdlList) { |
| | | fileIDs.add(docLink.ContentDocumentId); |
| | | } |
| | | contents=[SELECT Title,OwnerId,ContentModifiedDate from ContentDocument WHERE id IN :fileIDs]; |
| | | // contents=null; |
| | | // 20231103 Lightning文件修改 End |
| | | } |
| | | // 检索 |
| | | public void searchConsumableorderdetails() { |
| | | |