提交 47e7b185 authored 作者: 艾庆国's avatar 艾庆国

Merge branch 'refs/heads/v30.6_order_quote_20241022' into dev_jdk17

...@@ -498,9 +498,9 @@ public class OrderChildServiceImpl implements OrderChildService { ...@@ -498,9 +498,9 @@ public class OrderChildServiceImpl implements OrderChildService {
orderChild.setOrderNo(orderGoods.getOrderNo()); orderChild.setOrderNo(orderGoods.getOrderNo());
orderChild.setOrderGoodsNo(orderGoods.getOrderGoodsNo()); orderChild.setOrderGoodsNo(orderGoods.getOrderGoodsNo());
orderChild.setFreightPrice(orderGoods.getPendingOrderFreight()); orderChild.setFreightPrice(orderGoods.getPendingOrderFreight());
orderChild.setForecastFreightPrice(orderGoods.getForecastOrderFreight()); orderChild.setForecastFreightPrice(orderInfo.getValidFreightPrice());
orderChild.setLossPrice(orderGoods.getLossPrice()); orderChild.setLossPrice(orderGoods.getLossPrice());
orderChild.setOrderFreightPrice(orderInfo.getValidFreightPrice()); orderChild.setOrderFreightPrice(orderInfo.getValidForecastFreightQuotation());
orderChild.setGoodsId(orderGoods.getGoodsId()); orderChild.setGoodsId(orderGoods.getGoodsId());
orderChild.setGoodsName(orderGoods.getGoodsName()); orderChild.setGoodsName(orderGoods.getGoodsName());
......
...@@ -1108,9 +1108,6 @@ public class SettlementMqHandlerServiceImpl implements SettlementMqHandlerServic ...@@ -1108,9 +1108,6 @@ public class SettlementMqHandlerServiceImpl implements SettlementMqHandlerServic
if (Objects.equals(feignOrderVO.getPlatformFreightQuotationTaxType(), if (Objects.equals(feignOrderVO.getPlatformFreightQuotationTaxType(),
InvoicingCompanyEnum.TaxType.TAX_EXCLUDED.getCode())) { InvoicingCompanyEnum.TaxType.TAX_EXCLUDED.getCode())) {
if (Objects.equals(settlementDriverDetail.getInvoiceConfigType(),
InvoicingCompanyEnum.YesAndNo.YES.getCode())) {
// 查询开票公司 // 查询开票公司
InvoicingCompanyVO invoiceCompany = invoicingCompanyService.getInvoicingCompany( InvoicingCompanyVO invoiceCompany = invoicingCompanyService.getInvoicingCompany(
settlementOwnerDetail.getInvoicingCompanyId()).orElseThrow(PerformanceResultEnum.DATA_NOT_FIND); settlementOwnerDetail.getInvoicingCompanyId()).orElseThrow(PerformanceResultEnum.DATA_NOT_FIND);
...@@ -1118,7 +1115,6 @@ public class SettlementMqHandlerServiceImpl implements SettlementMqHandlerServic ...@@ -1118,7 +1115,6 @@ public class SettlementMqHandlerServiceImpl implements SettlementMqHandlerServic
settlementOwnerDetail.setInvoiceServiceFeeRate( settlementOwnerDetail.setInvoiceServiceFeeRate(
invoiceCompany.getServiceFeeRate() == null ? BigDecimal.ZERO : invoiceCompany.getServiceFeeRate()); invoiceCompany.getServiceFeeRate() == null ? BigDecimal.ZERO : invoiceCompany.getServiceFeeRate());
} }
}
// 开票服务费 // 开票服务费
settlementOwnerDetail.setInvoiceServiceFee( settlementOwnerDetail.setInvoiceServiceFee(
......
...@@ -163,8 +163,6 @@ public class SettlementOwnerDetailServiceImpl implements SettlementOwnerDetailS ...@@ -163,8 +163,6 @@ public class SettlementOwnerDetailServiceImpl implements SettlementOwnerDetailS
if (Objects.equals(feignOrderVO.getPlatformFreightQuotationTaxType(), if (Objects.equals(feignOrderVO.getPlatformFreightQuotationTaxType(),
InvoicingCompanyEnum.TaxType.TAX_EXCLUDED.getCode())) { InvoicingCompanyEnum.TaxType.TAX_EXCLUDED.getCode())) {
if (Objects.equals(settlementOwnerDetail.getInvoiceConfigType(), InvoicingCompanyEnum.YesAndNo.YES.getCode())) {
//设置开票公司信息 //设置开票公司信息
settlementOwnerDetail.setInvoicingCompanyId(orderChild.getInvoicingCompanyId()); settlementOwnerDetail.setInvoicingCompanyId(orderChild.getInvoicingCompanyId());
settlementOwnerDetail.setInvoicingCompanyShorterName(orderChild.getInvoicingCompanyShorterName()); settlementOwnerDetail.setInvoicingCompanyShorterName(orderChild.getInvoicingCompanyShorterName());
...@@ -178,7 +176,6 @@ public class SettlementOwnerDetailServiceImpl implements SettlementOwnerDetailS ...@@ -178,7 +176,6 @@ public class SettlementOwnerDetailServiceImpl implements SettlementOwnerDetailS
invoiceCompany.getServiceFeeRate() == null ? BigDecimal.ZERO : invoiceCompany.getServiceFeeRate()); invoiceCompany.getServiceFeeRate() == null ? BigDecimal.ZERO : invoiceCompany.getServiceFeeRate());
} }
} }
}
// 开票服务费 // 开票服务费
settlementOwnerDetail.setInvoiceServiceFee( settlementOwnerDetail.setInvoiceServiceFee(
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论