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