package cn.van.business.repository;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
import cn.van.business.model.pl.Comment;

import java.util.List;

/**
 * @author Leo
 * @version 1.0
 * @create 2025/5/2 19:16
 * @description：评论数据访问层接口
 */
@Repository
public interface CommentRepository extends JpaRepository<Comment, Integer> {

    List<Comment> findByProductIdAndIsUseNotAndPictureUrlsIsNotNull(String productId, Integer isUse);

}
