提交 dcc8dc6c authored 作者: 马路路's avatar 马路路

开票配置为否,当前运单司机确认交货之后,没有推无车承运-2

上级 744d133d
......@@ -43,6 +43,7 @@ import java.util.Objects;
@Service
public class OrderChildBrokerServiceImpl implements OrderChildBrokerService {
private static final String LONG_TERM_TIME = "2099-01-01 00:00:00";
private static final String ZERO_STR = "0";
@Autowired
private BrokerService brokerService;
......@@ -120,7 +121,8 @@ public class OrderChildBrokerServiceImpl implements OrderChildBrokerService {
// 参数组装
TransportParam transportParam = new TransportParam();
// 与承运平台约定默认设置0字符串
transportParam.setTransportPlatformCode(ZERO_STR);
// 若有开票配置,且开票配置为是,则使用开票配置的平台编码
if (Objects.nonNull(quotationDetailVO) && Objects.nonNull(quotationDetailVO.getInvoiceConfigType())
&& Objects.equals(quotationDetailVO.getInvoiceConfigType(), QuotationEnum.InvoicingConfigType.YES.getCode())) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论