|
@@ -416,7 +416,7 @@ public class PaymentApplyServiceImpl extends ServiceImpl<PaymentApplyMapper, Pay
|
|
|
List<FileStorage> purchContractFiles = getPurchContractFiles(paymentInfo.getBusinessNo());
|
|
|
paymentApproval.setPurchContractFileList(purchContractFiles);
|
|
|
//验收单
|
|
|
- List<FileStorage> acceptanceFiles = getAcceptanceFile(paymentInfo.getBusinessNo());
|
|
|
+ List<FileStorage> acceptanceFiles = getAcceptanceFile(id);
|
|
|
paymentApproval.setAcceptanceFileList(acceptanceFiles);
|
|
|
|
|
|
AttachmentDto attachmentDto = AttachmentDto.builder()
|
|
@@ -525,12 +525,12 @@ public class PaymentApplyServiceImpl extends ServiceImpl<PaymentApplyMapper, Pay
|
|
|
/**
|
|
|
* 填充验收单签署文件
|
|
|
*
|
|
|
- * @param businessNo
|
|
|
+ * @param financingBasicInfoId
|
|
|
* @return
|
|
|
*/
|
|
|
- private List<FileStorage> getAcceptanceFile(String businessNo) {
|
|
|
+ private List<FileStorage> getAcceptanceFile(Long financingBasicInfoId) {
|
|
|
List<FileStorage> acceptanceFiles = new ArrayList<>();
|
|
|
- CFinancingBasicInfo financingBasicInfo = financingBasicInfoService.getById(businessNo);
|
|
|
+ CFinancingBasicInfo financingBasicInfo = financingBasicInfoService.getById(financingBasicInfoId);
|
|
|
if (financingBasicInfo != null) {
|
|
|
List<CFinancingGoodsInfo> financingGoodsInfoList = financingGoodsInfoService.list(new QueryWrapper<CFinancingGoodsInfo>().select("DISTINCT acceptance_basic_info_id")
|
|
|
.eq("c_financing_basic_info_id", financingBasicInfo.getId()));
|