feat : 수정

This commit is contained in:
lsh9672 2025-06-20 09:22:45 +09:00
parent 451a69534d
commit fe15d55f45

View File

@ -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);
/** /**