|
|
@@ -505,15 +505,15 @@ public class ReceivableServiceImpl extends ServiceImpl<ReceivableMapper, InsPlyI
|
|
|
invoice.setInvoiceType(invoicingVo.getInvoiceType());
|
|
|
// 开票类型 1 手续费 2 跟单费 3 驾意险手续费 4 驾意险跟单费
|
|
|
if("1".equals(invoicingVo.getInvoiceType()) || "2".equals(invoicingVo.getInvoiceType())){
|
|
|
- invoice.setInvoickRiskType("10");
|
|
|
+ invoice.setInvoiceRiskType("10");
|
|
|
}else{
|
|
|
- invoice.setInvoickRiskType("20");
|
|
|
+ invoice.setInvoiceRiskType("20");
|
|
|
}
|
|
|
invoice.setInvoiceParty(invoicingVo.getInvoiceParty());
|
|
|
invoice.setOverinflatedAmount(invoicingVo.getOverinflatedAmount());
|
|
|
invoice.setReceivableSupervisePremium(invoicingVo.getReceivablePremium());
|
|
|
invoice.setTaxPoint(invoicingVo.getTaxPoint());
|
|
|
- int insert = insPlyIncomeInvoiceMapper.insert(invoice);
|
|
|
+ insPlyIncomeInvoiceMapper.insert(invoice);
|
|
|
|
|
|
List<InsPlyIncomeInvoiceLink> invoicingLinkList = new ArrayList();
|
|
|
|
|
|
@@ -529,6 +529,7 @@ public class ReceivableServiceImpl extends ServiceImpl<ReceivableMapper, InsPlyI
|
|
|
result.setSumPrice(invoicingVo.getReceivablePremium().toString());
|
|
|
return result;
|
|
|
} catch (Exception e) {
|
|
|
+ log.info("开票异常.invoicingVo=[{}]",JSONUtil.toJsonStr(invoicingVo), e);
|
|
|
// 回滚事务
|
|
|
TransactionAspectSupport.currentTransactionStatus().setRollbackOnly();
|
|
|
return null;
|
|
|
@@ -1222,6 +1223,7 @@ public class ReceivableServiceImpl extends ServiceImpl<ReceivableMapper, InsPlyI
|
|
|
// 设置待结算金额
|
|
|
action.setRemainSettlementAmount(remainSettlementAmount);
|
|
|
action.setCompanyALlName(allCompanyHierarchyPaths.get(Objects.toString(action.getCompanyId(),"")));
|
|
|
+ action.setSettlementStatus(settlementStatusName);
|
|
|
}).toList();
|
|
|
invoiceRecordList.setRecords(records);
|
|
|
}
|