Skip to content

Commit

Permalink
Merge pull request #22 from Staketab/dev
Browse files Browse the repository at this point in the history
update apply tx logic and add logic for remove reserved domains when …
  • Loading branch information
MrFoxogen authored Mar 12, 2024
2 parents 79b5d94 + 7323ba1 commit 39f66ee
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
package com.staketab.minanames.repository;

import com.staketab.minanames.entity.DomainEntity;
import com.staketab.minanames.entity.PayableTransactionEntity;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Modifying;
import org.springframework.data.jpa.repository.Query;
import org.springframework.stereotype.Repository;

import java.util.Collection;
import java.util.Optional;


Expand All @@ -28,4 +31,6 @@ public interface DomainRepository extends JpaRepository<DomainEntity, String> {
Page<DomainEntity> findAllDomainsByAccount(String searchStr, String accountAddress, Pageable buildPageable);

Optional<DomainEntity> findDomainEntityByDomainName(String domainName);

void deleteAllByTransactionIn(Collection<PayableTransactionEntity> transaction);
}

0 comments on commit 39f66ee

Please sign in to comment.