package com.huigou.topsun.product.repository;

import com.huigou.topsun.product.domain.ProductLooked;
import org.springframework.data.jpa.repository.JpaRepository;

import java.math.BigDecimal;

/**
 * @author qinzhenguan
 * @Auther: xin.lu
 * @Date: 2023/11/22/10:42
 * @Description:
 */
public interface ProductLookedRepository extends JpaRepository<ProductLooked,String> {
    ProductLooked findByProductId(BigDecimal productId);
    ProductLooked findByProductIdEquals(String productId);


}
