no message

This commit is contained in:
cb 2025-05-30 16:15:04 +08:00
parent 8e09f2aaf6
commit d7f8ffa20d
1 changed files with 9 additions and 1 deletions

View File

@ -1160,7 +1160,15 @@ public class OrderDetailServiceImpl implements OrderDetailService {
param.setOrderDetailId(orderDetailId);
List<FinancialChangeRecord> list = financialChangeRecordService.selectFinancialChangeRecordList(param);
if (!CollectionUtils.isEmpty(list)) {
return list.get(0);
FinancialChangeRecord financialChangeRecord=list.get(0);
OrderAttachmentRecord orderAttachmentRecord = new OrderAttachmentRecord();
orderAttachmentRecord.setFinancialChangeRecordId(financialChangeRecord.getId());
List<OrderAttachmentRecord> orderAttachmentRecordList = orderAttachmentRecordService.selectOrderAttachmentRecordList(orderAttachmentRecord);
if (CollectionUtils.isNotEmpty(orderAttachmentRecordList)) {
financialChangeRecord.setAttachmentMoney(orderAttachmentRecordList.get(0).getAttachMoney());
}
logger.info("加价的配件费订单{}加价id{}",orderAttachmentRecordList,financialChangeRecord.getId());
return financialChangeRecord;
}
return null;
}