io.mosip.preregistration.batchjob.repository.ProcessedPreIdRepository Maven / Gradle / Ivy
/*
* Copyright
*
*/
package io.mosip.preregistration.batchjob.repository;
import java.util.List;
import org.springframework.data.jpa.repository.Modifying;
import org.springframework.stereotype.Repository;
import org.springframework.transaction.annotation.Transactional;
import io.mosip.kernel.core.dataaccess.spi.repository.BaseRepository;
import io.mosip.preregistration.batchjob.entity.ProcessedPreRegEntity;
/**
* @author Kishan Rathore
*@since 1.0.0
*
*/
@Repository("processedPreIdRepository")
public interface ProcessedPreIdRepository extends BaseRepository{
List findBystatusComments(String statusComment);
ProcessedPreRegEntity findBypreRegistrationId(String preRegId);
@Modifying
@Transactional
int deleteBypreRegistrationId(String preRegId);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy