@Param 제거
parent
823846d3cd
commit
e96ac23190
|
|
@ -13,20 +13,20 @@ public interface TnDocumentContentRepository extends JpaRepository<TnDocumentCon
|
||||||
|
|
||||||
@Query(value = "select * from get_recent_full_context_by_content(:docCode, :docPart)", nativeQuery = true)
|
@Query(value = "select * from get_recent_full_context_by_content(:docCode, :docPart)", nativeQuery = true)
|
||||||
List<StandardCodeContentInterface> getRecentFullContextByContent(
|
List<StandardCodeContentInterface> getRecentFullContextByContent(
|
||||||
@Param("docCode") String docCode,
|
String docCode,
|
||||||
@Param("docPart") String docPart);
|
String docPart);
|
||||||
|
|
||||||
@Query(value = "select * from get_year_full_context_by_content(:docInfoSeq, :docCode, :docPart, null, null)", nativeQuery = true)
|
@Query(value = "select * from get_year_full_context_by_content(:docInfoSeq, :docCode, :docPart, null, null)", nativeQuery = true)
|
||||||
List<StandardCodeContentInterface> getYearFullContextByContent(
|
List<StandardCodeContentInterface> getYearFullContextByContent(
|
||||||
@Param("docInfoSeq") Integer docInfoSeq,
|
Integer docInfoSeq,
|
||||||
@Param("docCode") String docCode,
|
String docCode,
|
||||||
@Param("docPart") String docPart);
|
String docPart);
|
||||||
|
|
||||||
@Query(value = "select * from sp_get_recent_full_context_by_content(:docCode, :docPart, :ymd)", nativeQuery = true)
|
@Query(value = "select * from sp_get_recent_full_context_by_content(:docCode, :docPart, :ymd)", nativeQuery = true)
|
||||||
List<StandardCodeContentInterface> spGetRecentFullContextByContent(
|
List<StandardCodeContentInterface> spGetRecentFullContextByContent(
|
||||||
@Param("docCode") String docCode,
|
String docCode,
|
||||||
@Param("docPart") String docPart,
|
String docPart,
|
||||||
@Param("ymd") String ymd);
|
String ymd);
|
||||||
|
|
||||||
Optional<TnDocumentContent> findByDocContSeq(Integer docContSeq);
|
Optional<TnDocumentContent> findByDocContSeq(Integer docContSeq);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,7 @@ import java.util.Optional;
|
||||||
|
|
||||||
public interface TnDocumentInfoRepository extends JpaRepository<TnDocumentInfo, Integer> {
|
public interface TnDocumentInfoRepository extends JpaRepository<TnDocumentInfo, Integer> {
|
||||||
@Query(value = "select * from sp_get_tn_document_info_by_group_cd(null, :docCode)", nativeQuery = true)
|
@Query(value = "select * from sp_get_tn_document_info_by_group_cd(null, :docCode)", nativeQuery = true)
|
||||||
List<TnDocumentInfoInterface> spGetTnDocumentInfoByGroupCd(@Param("docCode") String docCode);
|
List<TnDocumentInfoInterface> spGetTnDocumentInfoByGroupCd(String docCode);
|
||||||
|
|
||||||
Optional<TnDocumentInfo> findByDocFileGrpId(String fileSeq);
|
Optional<TnDocumentInfo> findByDocFileGrpId(String fileSeq);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue