|
@@ -922,7 +922,12 @@ public class NoCarServiceImpl implements NoCarService{
|
|
|
billInvoice.setCompanyName(noCarWayBill.getCompanyName());
|
|
|
billInvoice.setCompanyNum(noCarWayBill.getCompanyNum());
|
|
|
billInvoice.setCustomerName(noCarWayBill.getCustomerName());
|
|
|
- billInvoice.setCalculateTime("2021-01-11 00:00:00");
|
|
|
+ NoCarCalculateInfor noCarCalculateInfor = calculateInforMapper.selectByTradeId(billInvoice.getTransactionId());
|
|
|
+ if(noCarCalculateInfor!=null){
|
|
|
+ billInvoice.setCalculateTime(noCarCalculateInfor.getCalculateTime());
|
|
|
+ }else{
|
|
|
+ billInvoice.setCalculateTime("2021-01-10 00:00:00");
|
|
|
+ }
|
|
|
billInvoiceMapper.insert(billInvoice);
|
|
|
});
|
|
|
log.info("6666666getInvoiceByWayBillOwnerNumReal{}",noCarWayBill.getBillNum());
|