Communication amend test.

This commit is contained in:
piyuskag
2024-10-26 12:11:30 +05:30
parent d541492e81
commit 452a661389
13 changed files with 489 additions and 2 deletions

View File

@@ -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);
}