Interface MenuItemRepository

All Superinterfaces:
org.springframework.data.repository.CrudRepository<MenuTreeItem,Long>, org.springframework.data.jpa.repository.JpaRepository<MenuTreeItem,Long>, org.springframework.data.repository.ListCrudRepository<MenuTreeItem,Long>, org.springframework.data.repository.ListPagingAndSortingRepository<MenuTreeItem,Long>, org.springframework.data.repository.PagingAndSortingRepository<MenuTreeItem,Long>, org.springframework.data.repository.query.QueryByExampleExecutor<MenuTreeItem>, com.sankcrm.erp.domain.infrastructure.persistence.hibernate.Repository<MenuTreeItem>, org.springframework.data.repository.Repository<MenuTreeItem,Long>

public interface MenuItemRepository extends com.sankcrm.erp.domain.infrastructure.persistence.hibernate.Repository<MenuTreeItem>
菜单储存.
Since:
2.1.0
Author:
zhsxin
create time:
2023/3/3 下午2:21
  • Method Summary

    Modifier and Type
    Method
    Description
    findBy(com.sankcrm.erp.menu.domain.model.MenuItemId id)
     
    findByMenuId(com.sankcrm.erp.menu.domain.model.MenuItemId id)
     
    default MenuTreeItem
    findOneBy(com.sankcrm.erp.menu.domain.model.MenuItemId id)
     

    Methods inherited from interface org.springframework.data.repository.CrudRepository

    count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findById, save

    Methods inherited from interface org.springframework.data.jpa.repository.JpaRepository

    deleteAllByIdInBatch, deleteAllInBatch, deleteAllInBatch, deleteInBatch, findAll, findAll, flush, getById, getOne, getReferenceById, saveAllAndFlush, saveAndFlush

    Methods inherited from interface org.springframework.data.repository.ListCrudRepository

    findAll, findAllById, saveAll

    Methods inherited from interface org.springframework.data.repository.ListPagingAndSortingRepository

    findAll

    Methods inherited from interface org.springframework.data.repository.PagingAndSortingRepository

    findAll

    Methods inherited from interface org.springframework.data.repository.query.QueryByExampleExecutor

    count, exists, findAll, findBy, findOne
  • Method Details

    • findByMenuId

      Optional<MenuTreeItem> findByMenuId(com.sankcrm.erp.menu.domain.model.MenuItemId id)
    • findBy

      default Optional<MenuTreeItem> findBy(com.sankcrm.erp.menu.domain.model.MenuItemId id)
    • findOneBy

      default MenuTreeItem findOneBy(com.sankcrm.erp.menu.domain.model.MenuItemId id)