| | |
| | | update.setImgurl(taxes.getImgurl()); |
| | | taxesMapper.updateById(update); |
| | | |
| | | //查询开票明细记录 |
| | | List<TaxDetial> taxDetialList = taxDetialMapper.selectList(new QueryWrapper<TaxDetial>().lambda() |
| | | .eq(TaxDetial::getTaxId,taxes.getId()) |
| | | .eq(TaxDetial::getType,Constants.TWO)); |
| | | if(CollectionUtils.isNotEmpty(taxDetialList)){ |
| | | for (TaxDetial taxDetial:taxDetialList) { |
| | | taxesMapper.update(null,new UpdateWrapper<Taxes>().lambda() |
| | | .set(Taxes::getEditDate,new Date()) |
| | | .set(Taxes::getEditor,user.getId()) |
| | | .set(Taxes::getStatus,3).eq(Taxes::getId,taxDetial.getDelTaxId())); |
| | | } |
| | | } |
| | | |
| | | |
| | | //存储待办信息 |
| | | Constants.NoticeObjectType noticeObjectType = Constants.NoticeObjectType.TAXES; |
| | | //删除其他待办 |