| | |
| | | import me.zhengjie.modules.treatment.domain.CmnLevelRank; |
| | | import org.springframework.data.jpa.repository.JpaRepository; |
| | | import org.springframework.data.jpa.repository.JpaSpecificationExecutor; |
| | | import org.springframework.data.jpa.repository.Query; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * @website https://eladmin.vip |
| | |
| | | public interface CmnLevelRankRepository extends JpaRepository<CmnLevelRank, Long>, JpaSpecificationExecutor<CmnLevelRank> { |
| | | |
| | | void deleteByLevelId(Long levelId); |
| | | |
| | | @Query(value = "select * from new_cmn_level_rank where level_id = ?1",nativeQuery = true) |
| | | List<CmnLevelRank> findByLevelId(Long levelId); |
| | | } |