bug fix: JpaRepository class<T> error

This commit is contained in:
myh 2023-11-11 20:20:09 +08:00
parent 469253559e
commit 7aed5f6ca7

View File

@ -1,10 +1,11 @@
package com.example.springdemo.dao;
import com.example.springdemo.entities.OrderDishes;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
@Repository
public interface OrderDishesRepository
extends JpaRepository<OrderDishesRepository, Long> {
extends JpaRepository<OrderDishes, Long> {
}