2019-03-18 15:30:07 +01:00
|
|
|
package eu.dnetlib.data.mdstore.manager.repository;
|
|
|
|
|
|
|
|
import org.springframework.data.jpa.repository.JpaRepository;
|
|
|
|
import org.springframework.stereotype.Repository;
|
|
|
|
|
|
|
|
import eu.dnetlib.data.mdstore.manager.model.Transaction;
|
|
|
|
|
|
|
|
@Repository
|
|
|
|
public interface TransactionRepository extends JpaRepository<Transaction, String> {
|
|
|
|
|
2019-03-19 13:34:40 +01:00
|
|
|
void deleteByMdstore(String id);
|
|
|
|
|
|
|
|
int countByMdstoreAndActive(String id, boolean active);
|
2019-03-18 15:30:07 +01:00
|
|
|
}
|