|
|
@@ -3,7 +3,6 @@ package com.jzg.organization.service.impl;
|
|
|
import cn.hutool.core.collection.CollUtil;
|
|
|
import cn.hutool.core.collection.ListUtil;
|
|
|
import cn.hutool.core.date.DateTime;
|
|
|
-import cn.hutool.core.lang.Assert;
|
|
|
import cn.hutool.core.lang.tree.Tree;
|
|
|
import cn.hutool.core.lang.tree.TreeNodeConfig;
|
|
|
import cn.hutool.core.lang.tree.TreeUtil;
|
|
|
@@ -26,7 +25,6 @@ import com.jzg.commons.entity.finance.po.*;
|
|
|
import com.jzg.commons.entity.finance.vo.*;
|
|
|
import com.jzg.commons.entity.orders.po.InsOrderAdjust;
|
|
|
import com.jzg.commons.entity.po.EsmInsCompany;
|
|
|
-import com.jzg.commons.entity.po.InsFeeOrders;
|
|
|
import com.jzg.commons.entity.po.PtlAgreement;
|
|
|
import com.jzg.commons.entity.po.SysUploadFiles;
|
|
|
import com.jzg.commons.entity.quote.vo.orders.InsOrdersVo;
|
|
|
@@ -539,10 +537,10 @@ public class ReceivableServiceImpl extends ServiceImpl<ReceivableMapper, InsPlyI
|
|
|
|
|
|
@Override
|
|
|
@Transactional(rollbackFor = Exception.class)
|
|
|
- public Boolean deleteInvoiceById(String id) {
|
|
|
- log.info("私有协议-开票记录-删除: id=[{}]",id);
|
|
|
- insPlyIncomeInvoiceLinkMapper.deleteById(id);
|
|
|
- return insPlyIncomeInvoiceMapper.deleteById(id) > 0;
|
|
|
+ public Boolean deleteInvoiceById(String invoiceId) {
|
|
|
+ log.info("私有协议-开票记录-删除: id=[{}]", invoiceId);
|
|
|
+ insPlyIncomeInvoiceLinkMapper.deleteByInvoiceId(invoiceId);
|
|
|
+ return insPlyIncomeInvoiceMapper.deleteById(invoiceId) > 0;
|
|
|
}
|
|
|
|
|
|
|