class TransactionServiceImpl implements TransactionService {

    public CommonResult insertTransactionExceptionLog(String originalCode, String newCode, String reverseCode, Integer roleId, String reason){
        TransactionExceptionLog transactionExceptionLog = new TransactionExceptionLog();
        transactionExceptionLog.setOriginalInvoiceCode(originalCode);
        transactionExceptionLog.setNewInvoiceCode(newCode);
        transactionExceptionLog.setReverseInvoiceCode(reverseCode);
        transactionExceptionLog.setRoleId(roleId);
        transactionExceptionLog.setReason(reason);
        int count = transactionExceptionLogMapper.insertSelective(transactionExceptionLog);
        if(count == 0)
            return CommonResult.fail(E_605);
        return CommonResult.success(transactionExceptionLog);
    }

}