|
@@ -664,7 +664,7 @@ public class PurchContractElectronicInfoServiceImpl extends ServiceImpl<PurchCon
|
|
|
fileName = new String(fileName.getBytes("UTF-8"), "ISO8859-1");
|
|
|
res.setContentType("application/zip");
|
|
|
res.setHeader("Content-disposition", String.format("attachment; filename=" + fileName));
|
|
|
- PurchContractManagement purchContractManagement = purchContractService.getById(managerId);
|
|
|
+ PurchContractManagement purchContractManagement = purchContractService.get(managerId);
|
|
|
PurchContractBasicInfo purchContractBasicInfo = purchContractBasicInfoService.findByBusinessNumberAndSupplierId(purchContractManagement.getBusinessNumber(), purchContractManagement.getSupplierId());
|
|
|
AttachmentDto attachmentDto = AttachmentDto.builder()
|
|
|
.setEntityId(purchContractBasicInfo.getId())
|