You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
package com.whn.hellospring.repository;
|
|
|
|
import com.whn.hellospring.model.MenuCoffeeDO;
|
|
import org.springframework.data.jpa.repository.JpaRepository;
|
|
|
|
import java.util.Optional;
|
|
|
|
/**
|
|
* 菜单咖啡
|
|
*/
|
|
public interface MenuCoffeeRepository extends JpaRepository<MenuCoffeeDO,Long> {
|
|
|
|
/**
|
|
* 获取一个类型下的咖啡列表
|
|
* @return
|
|
*/
|
|
@Override
|
|
Optional<MenuCoffeeDO> findById(Long aLong);
|
|
}
|