开发票给对账单赋值发票id及编号;
This commit is contained in:
+3
@@ -162,6 +162,7 @@ public class BmsInvoiceListServiceImpl extends ServiceImpl<BmsInvoiceListMapper,
|
|||||||
if (billManage != null) {
|
if (billManage != null) {
|
||||||
billManage.setIsInvoice(1);
|
billManage.setIsInvoice(1);
|
||||||
billManage.setInvoiceId(bmsInvoiceList.getId().toString());
|
billManage.setInvoiceId(bmsInvoiceList.getId().toString());
|
||||||
|
billManage.setApplyNumber(bmsInvoiceList.getApplyNumber());
|
||||||
billManageMapper.updateById(billManage);
|
billManageMapper.updateById(billManage);
|
||||||
}
|
}
|
||||||
/*AjaxResult ajaxResult = financeServiceFeign.editIsInvoice(transportationId,1,bmsInvoiceList.getId(),"",bmsInvoiceList.getApplyNumber());
|
/*AjaxResult ajaxResult = financeServiceFeign.editIsInvoice(transportationId,1,bmsInvoiceList.getId(),"",bmsInvoiceList.getApplyNumber());
|
||||||
@@ -343,6 +344,8 @@ public class BmsInvoiceListServiceImpl extends ServiceImpl<BmsInvoiceListMapper,
|
|||||||
if (ObjectUtil.isNotNull(billManages) && billManages.size() > 0) {
|
if (ObjectUtil.isNotNull(billManages) && billManages.size() > 0) {
|
||||||
for (BillManage billManage : billManages) {
|
for (BillManage billManage : billManages) {
|
||||||
billManage.setIsInvoice(2);
|
billManage.setIsInvoice(2);
|
||||||
|
billManage.setInvoiceId(bmsInvoiceList.getId().toString());
|
||||||
|
billManage.setApplyNumber(bmsInvoiceList.getApplyNumber());
|
||||||
billManageMapper.updateById(billManage);
|
billManageMapper.updateById(billManage);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user