package com.YuyeTech.TPlat.repository;

import com.YuyeTech.TPlat.dataobject.ProductCategory;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

//继承jpa
public interface ProductCategoryRepository extends JpaRepository<ProductCategory,Integer> {

    //方法，根据int 数组查询对应数据
    List<ProductCategory> findByCategoryTypeIn(List<Integer> categoryTypeList);

}
