bug fix: JpaRepository class<T> error
This commit is contained in:
parent
469253559e
commit
7aed5f6ca7
@ -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> {
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user