bug fix: JpaRepository class<T> error
This commit is contained in:
parent
469253559e
commit
7aed5f6ca7
@ -1,10 +1,11 @@
|
|||||||
package com.example.springdemo.dao;
|
package com.example.springdemo.dao;
|
||||||
|
|
||||||
|
import com.example.springdemo.entities.OrderDishes;
|
||||||
import org.springframework.data.jpa.repository.JpaRepository;
|
import org.springframework.data.jpa.repository.JpaRepository;
|
||||||
import org.springframework.stereotype.Repository;
|
import org.springframework.stereotype.Repository;
|
||||||
|
|
||||||
@Repository
|
@Repository
|
||||||
public interface OrderDishesRepository
|
public interface OrderDishesRepository
|
||||||
extends JpaRepository<OrderDishesRepository, Long> {
|
extends JpaRepository<OrderDishes, Long> {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user