| | |
| | | import com.ruoyi.account.mapper.sales.AccountSalesCollectionMapper; |
| | | import com.ruoyi.account.pojo.sales.AccountInvoiceApplication; |
| | | import com.ruoyi.account.pojo.sales.AccountSalesCollection; |
| | | import com.ruoyi.basic.dto.StorageAttachmentDTO; |
| | | import com.ruoyi.basic.enums.ApplicationTypeEnum; |
| | | import com.ruoyi.basic.enums.RecordTypeEnum; |
| | | import com.ruoyi.basic.mapper.CustomerMapper; |
| | |
| | | resultDto.setProductData(products); |
| | | resultDto.setSalesLedgerFiles(salesLedgerFiles); |
| | | } |
| | | |
| | | StorageAttachmentDTO attachmentQuery = new StorageAttachmentDTO(); |
| | | attachmentQuery.setApplication(ApplicationTypeEnum.FILE.getType()); |
| | | attachmentQuery.setRecordType(RecordTypeEnum.SALES_LEDGER.getType()); |
| | | attachmentQuery.setRecordId(salesLedger.getId()); |
| | | resultDto.setStorageBlobVOs(fileUtil.getStorageBlobVOsByApplicationAndRecordTypeAndRecordId(attachmentQuery)); |
| | | return resultDto; |
| | | } |
| | | |