| | |
| | | //删除进展记录 |
| | | guideEvolveMapper.delete(new QueryWrapper<GuideEvolveEntity>().lambda().eq(GuideEvolveEntity::getGuideId, Id)); |
| | | TransactionEvent transactionEvent = transactionEventMapper.selectOne(new QueryWrapper<TransactionEvent>().lambda().eq(TransactionEvent::getId, guideRepairOrderDelete.getMatterId())); |
| | | transactionEvent.setTransactionNum(transactionEvent.getTransactionNum() - 1); |
| | | if (transactionEvent.getTransactionNum()>0) |
| | | { |
| | | transactionEvent.setTransactionNum(transactionEvent.getTransactionNum() - 1); |
| | | } |
| | | //对应办事指南减一 |
| | | transactionEventMapper.updateById(transactionEvent); |
| | | SysUser sysUser = sysUserMapper.selectOne(new QueryWrapper<SysUser>().lambda().eq(SysUser::getUserId, guideRepairOrderDelete.getGuideUserId())); |