fix token in LimitConfigRepository

This commit is contained in:
Anatoly Karlov 2023-08-17 12:49:58 +03:00
parent 0561fec188
commit 70bdc24440

View File

@ -16,7 +16,7 @@ public interface LimitConfigRepository extends JpaRepository<LimitConfigEntity,
@Query(value = "select lc " +
"from LimitConfigEntity as lc " +
"where lc.limit_config_id in :limitConfigIds " +
"and lc.time_range_type = :time_range_type" +
"and lc.time_range_type = :time_range_type " +
"and lc.current = true")
List<LimitConfigEntity> findAllUsingLimitConfigIdsAndTimeRangType(@Param("limitConfigIds") List<String> limitConfigIds, @Param("time_range_type") String timeRangType);