|
@@ -626,6 +626,7 @@ public class NoCarServiceImpl implements NoCarService{
|
|
|
//更改票状态
|
|
|
noCarWayBill.setBillwayStatus(tempStatus);
|
|
|
insertOrUpdateBill(noCarWayBill);
|
|
|
+
|
|
|
}else {
|
|
|
//更改票状态
|
|
|
noCarWayBill.setPlateNum(responseRespR.getData().getPlateNum());
|
|
@@ -644,6 +645,7 @@ public class NoCarServiceImpl implements NoCarService{
|
|
|
//用set来去重计费信息
|
|
|
Set<NoCarCalculateInfor> carCalculateInfors = new HashSet<>();
|
|
|
invoiceProcessingListModels.stream().forEach(invoiceProcessingListModel -> {
|
|
|
+ log.info("44444{}",invoiceProcessingListModel.getTransactionId());
|
|
|
BillInvoice billInvoice = buildFromInvoiceProcessingListModel(invoiceProcessingListModel);
|
|
|
billInvoice.setCompanyName(noCarWayBill.getCompanyName());
|
|
|
billInvoice.setCompanyNum(noCarWayBill.getCompanyNum());
|
|
@@ -670,9 +672,9 @@ public class NoCarServiceImpl implements NoCarService{
|
|
|
carCalculateInfors.add(calculateInfor);
|
|
|
billInvoice.setCalculateTime(calculateInfor.getCalculateTime());
|
|
|
}
|
|
|
-
|
|
|
billInvoiceMapper.insert(billInvoice);
|
|
|
});
|
|
|
+ log.info("6666666{}",noCarWayBill.getBillNum());
|
|
|
if(isKf == 3) return new RespR(responseRespR.getData());
|
|
|
//统一插入交易id 和 和计费信息
|
|
|
Param param = paramService.getParamsByParamName("CUST_NOCAR_FEE");
|
|
@@ -699,6 +701,7 @@ public class NoCarServiceImpl implements NoCarService{
|
|
|
return new RespR(responseRespR.getData());
|
|
|
}
|
|
|
}
|
|
|
+ log.info("99999999{}",noCarWayBill.getBillNum());
|
|
|
return new RespR("success");
|
|
|
}
|
|
|
public BillInvoice buildFromInvoiceProcessingListModel(InvoiceProcessingListModel invoiceProcessingListModel){
|