shjung 2 anos atrás
pai
commit
dcfc3e7d2e

+ 1 - 1
src/main/java/com/its/op/dao/repository/its/ifsc/TbReptCngsSectRepository.java

@@ -18,7 +18,7 @@ public interface TbReptCngsSectRepository extends JpaRepository<TbReptCngsSect,
 
     @Query( "select p from TbReptCngsSect p inner join fetch p.ifsc ifsc inner join fetch ifsc.fromNode fn inner join fetch ifsc.toNode tn " +
             " where p.dcsnYn = :dcsnYn " +
-            "   and p.statYm = to_char(sysdate, 'YYYYMM') " +
+            "   and p.statYm = to_char(sysdate-1, 'YYYYMM') " +
             "   and p.cnfsStrtHm <= to_char(sysdate, 'HH24MI') " +
             "   and p.cnfsEndHm  >= to_char(sysdate, 'HH24MI') " +
             "   and p.dayTypeCd = :dayTypeCd")