Communication amend test.
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
package net.gepafin.tendermanagement.repositories;
|
||||
|
||||
import net.gepafin.tendermanagement.entities.CommunicationAmendmentEntity;
|
||||
import org.springframework.data.jpa.repository.JpaRepository;
|
||||
import org.springframework.data.jpa.repository.Query;
|
||||
import org.springframework.data.repository.query.Param;
|
||||
|
||||
import java.util.Optional;
|
||||
|
||||
public interface CommunicationAmendmentRepository extends JpaRepository<CommunicationAmendmentEntity, Long> {
|
||||
|
||||
@Query("Select c from CommunicationAmendmentEntity c Where c.id = :id")
|
||||
CommunicationAmendmentEntity findCommentsById(@Param("id") Long id);
|
||||
}
|
||||
Reference in New Issue
Block a user