From a95358f274c3fcbf00153cdc2566886e6113878f Mon Sep 17 00:00:00 2001 From: minuk926 Date: Mon, 16 May 2022 20:10:26 +0900 Subject: [PATCH] =?UTF-8?q?feat=20:=20=EA=B1=B0=EC=A3=BC=EC=9E=90/?= =?UTF-8?q?=EC=9E=A5=EC=95=A0=EC=9D=B8=20=EC=8B=AC=EC=82=AC=EC=9E=90=20?= =?UTF-8?q?=EC=8B=AC=EC=82=AC=20=EB=B0=98=EC=98=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/xit/biz/ctgy/repository/IJudgeRepository.java | 2 +- .../java/com/xit/biz/ctgy/repository/IParkingRepository.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/xit/biz/ctgy/repository/IJudgeRepository.java b/src/main/java/com/xit/biz/ctgy/repository/IJudgeRepository.java index 70180e0..21c35a3 100644 --- a/src/main/java/com/xit/biz/ctgy/repository/IJudgeRepository.java +++ b/src/main/java/com/xit/biz/ctgy/repository/IJudgeRepository.java @@ -12,7 +12,7 @@ import java.util.List; public interface IJudgeRepository extends JpaRepository { - @Query(value = "SELECT e.msMaincode FROM #{#entityName} e WHERE e.msDatagb = :msDatagb AND e.msChasu = :msChasu AND e.msSdate >= :msSdate AND e.msEdate <= :msEdate") + @Query(value = "SELECT e.msMaincode FROM #{#entityName} e WHERE e.msDatagb = :msDatagb AND e.msChasu = :msChasu AND e.msSdate = :msSdate AND e.msEdate = :msEdate") List findAllMsMaincode(@Param("msDatagb") String msDatagb, @Param("msChasu") Long msChasu, @Param("msSdate") LocalDate msSdate, @Param("msEdate")LocalDate msEdate); @Modifying diff --git a/src/main/java/com/xit/biz/ctgy/repository/IParkingRepository.java b/src/main/java/com/xit/biz/ctgy/repository/IParkingRepository.java index 7808b98..33e2484 100644 --- a/src/main/java/com/xit/biz/ctgy/repository/IParkingRepository.java +++ b/src/main/java/com/xit/biz/ctgy/repository/IParkingRepository.java @@ -11,7 +11,7 @@ import java.util.List; public interface IParkingRepository extends JpaRepository, IParkingRepositoryCustom { - @Query(value = "SELECT e.msMaincode FROM #{#entityName} e WHERE e.msChasu = :msChasu AND e.msSdate >= :msSdate AND e.msEdate <= :msEdate") + @Query(value = "SELECT e.msMaincode FROM #{#entityName} e WHERE e.msChasu = :msChasu AND e.msSdate = :msSdate AND e.msEdate = :msEdate") List findAllMsMaincode(@Param("msChasu") Long msChasu, @Param("msSdate")LocalDate msSdate, @Param("msEdate")LocalDate msEdate); @Modifying