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

Merge branch 'refs/heads/v17.5_order_child_sync_broker_20240617' into test

...@@ -31,6 +31,7 @@ public class BrokerServiceImpl implements BrokerService { ...@@ -31,6 +31,7 @@ public class BrokerServiceImpl implements BrokerService {
log.info("运单同步网络货运失败, msg:{}", result.getMsg()); log.info("运单同步网络货运失败, msg:{}", result.getMsg());
throw new ServiceSystemException(ResultEnum.FEIGN_ERROR, result.getMsg()); throw new ServiceSystemException(ResultEnum.FEIGN_ERROR, result.getMsg());
} }
log.info("运单同步网络货运, result:{}", JSON.toJSONString(result));
} }
@Override @Override
public TransportVO getOrderChildStatus(String childNo) { public TransportVO getOrderChildStatus(String childNo) {
...@@ -39,6 +40,7 @@ public class BrokerServiceImpl implements BrokerService { ...@@ -39,6 +40,7 @@ public class BrokerServiceImpl implements BrokerService {
if (result.getCode() != 0) { if (result.getCode() != 0) {
log.info("运单同步网络货运失败, msg:{}", result.getMsg()); log.info("运单同步网络货运失败, msg:{}", result.getMsg());
} }
log.info("运单同步网络货运, result:{}", JSON.toJSONString(result));
return result.getData(); return result.getData();
} }
......
...@@ -223,8 +223,6 @@ public class OrderChildSyncTransportListener { ...@@ -223,8 +223,6 @@ public class OrderChildSyncTransportListener {
settlementOwnerDetail.setFinalPaymentStatus(SettlementOwnerDetailEnum.FinalPaymentStatus.NO_REQUIRE.getCode()); settlementOwnerDetail.setFinalPaymentStatus(SettlementOwnerDetailEnum.FinalPaymentStatus.NO_REQUIRE.getCode());
} }
// 如果开票标识为“普通单”时,开票费率从开票公司“五寨华祥”中获取 // 如果开票标识为“普通单”时,开票费率从开票公司“五寨华祥”中获取
settlementOwnerDetail.setInvoiceServiceFeeRate(BigDecimal.ZERO);
InvoicingCompanyVO invoiceCompany = invoicingCompanyService.getInvoicingCompanyByGroupCode( InvoicingCompanyVO invoiceCompany = invoicingCompanyService.getInvoicingCompanyByGroupCode(
settlementConfig.getOrdinaryInvoiceCompanyGroupCode()); settlementConfig.getOrdinaryInvoiceCompanyGroupCode());
//设置开票公司信息 //设置开票公司信息
...@@ -233,7 +231,7 @@ public class OrderChildSyncTransportListener { ...@@ -233,7 +231,7 @@ public class OrderChildSyncTransportListener {
settlementOwnerDetail.setInvoicingCompanyGroupCode(invoiceCompany.getCompanyGroupCode()); settlementOwnerDetail.setInvoicingCompanyGroupCode(invoiceCompany.getCompanyGroupCode());
settlementOwnerDetail.setInvoiceServiceFeeRate( settlementOwnerDetail.setInvoiceServiceFeeRate(
invoiceCompany.getServiceFeeRate()==null? BigDecimal.ZERO : orderGoods.getInvoiceServiceFeeRate()); invoiceCompany.getServiceFeeRate()==null? BigDecimal.ZERO : invoiceCompany.getServiceFeeRate());
settlementDriverDetail.setInvoicingCompanyId(invoiceCompany.getId()); settlementDriverDetail.setInvoicingCompanyId(invoiceCompany.getId());
settlementDriverDetail.setInvoicingCompanyShorterName(invoiceCompany.getCompanyShorterName()); settlementDriverDetail.setInvoicingCompanyShorterName(invoiceCompany.getCompanyShorterName());
......
...@@ -108,7 +108,8 @@ public class SettlementServiceImpl implements SettlementService { ...@@ -108,7 +108,8 @@ public class SettlementServiceImpl implements SettlementService {
settlementOwnerDetail.setInvoicingCompanyId(invoiceCompany.getId()); settlementOwnerDetail.setInvoicingCompanyId(invoiceCompany.getId());
settlementOwnerDetail.setInvoicingCompanyShorterName(invoiceCompany.getCompanyShorterName()); settlementOwnerDetail.setInvoicingCompanyShorterName(invoiceCompany.getCompanyShorterName());
settlementOwnerDetail.setInvoicingCompanyGroupCode(invoiceCompany.getCompanyGroupCode()); settlementOwnerDetail.setInvoicingCompanyGroupCode(invoiceCompany.getCompanyGroupCode());
settlementOwnerDetail.setInvoiceServiceFeeRate(invoiceCompany.getServiceFeeRate()); settlementOwnerDetail.setInvoiceServiceFeeRate(
invoiceCompany.getServiceFeeRate()==null? BigDecimal.ZERO : invoiceCompany.getServiceFeeRate());
settlementDriverDetail.setInvoicingCompanyId(invoiceCompany.getId()); settlementDriverDetail.setInvoicingCompanyId(invoiceCompany.getId());
settlementDriverDetail.setInvoicingCompanyShorterName(invoiceCompany.getCompanyShorterName()); settlementDriverDetail.setInvoicingCompanyShorterName(invoiceCompany.getCompanyShorterName());
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论