feat : 수정
This commit is contained in:
parent
451a69534d
commit
fe15d55f45
@ -25,7 +25,7 @@ public interface AiFeedbackJpaRepository extends JpaRepository<AiFeedbackEntity,
|
|||||||
/**
|
/**
|
||||||
* 매장 ID로 최신 AI 피드백 조회
|
* 매장 ID로 최신 AI 피드백 조회
|
||||||
*/
|
*/
|
||||||
@Query("SELECT af FROM AiFeedbackEntity af WHERE af.storeId = :storeId ORDER BY af.createdAt DESC LIMIT 1")
|
@Query("SELECT af FROM AiFeedbackEntity af WHERE af.storeId = :storeId ORDER BY af.id DESC LIMIT 1")
|
||||||
Optional<AiFeedbackEntity> findLatestByStoreId(@Param("storeId") Long storeId);
|
Optional<AiFeedbackEntity> findLatestByStoreId(@Param("storeId") Long storeId);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user