敏捷工具
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.

19 lines
425 B

2 years ago
  1. package com.whn.hellospring.repository;
  2. import com.whn.hellospring.model.MenuCoffeeDO;
  3. import org.springframework.data.jpa.repository.JpaRepository;
  4. import java.util.Optional;
  5. /**
  6. * 菜单咖啡
  7. */
  8. public interface MenuCoffeeRepository extends JpaRepository<MenuCoffeeDO,Long> {
  9. /**
  10. * 获取一个类型下的咖啡列表
  11. * @return
  12. */
  13. @Override
  14. Optional<MenuCoffeeDO> findById(Long aLong);
  15. }