추세검색 설정 수정
This commit is contained in:
@@ -4,6 +4,7 @@ import com.goldenchart.entity.GcAppSettings;
|
||||
import org.springframework.data.jpa.repository.JpaRepository;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Optional;
|
||||
|
||||
@Repository
|
||||
@@ -12,4 +13,6 @@ public interface GcAppSettingsRepository extends JpaRepository<GcAppSettings, Lo
|
||||
Optional<GcAppSettings> findByDeviceId(String deviceId);
|
||||
|
||||
Optional<GcAppSettings> findByUserId(Long userId);
|
||||
|
||||
List<GcAppSettings> findAllByTrendSearchSettingsJsonIsNotNull();
|
||||
}
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
package com.goldenchart.repository;
|
||||
|
||||
import com.goldenchart.entity.GcTrendSearchSnapshot;
|
||||
import org.springframework.data.jpa.repository.JpaRepository;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
@Repository
|
||||
public interface GcTrendSearchSnapshotRepository extends JpaRepository<GcTrendSearchSnapshot, String> {
|
||||
}
|
||||
Reference in New Issue
Block a user