package cn.lihongjie.coal.department.repository;

import cn.lihongjie.coal.base.dao.BaseRepository;
import cn.lihongjie.coal.department.entity.DepartmentEntity;

import org.springframework.stereotype.Repository;

@Repository
public interface DepartmentRepository extends BaseRepository<DepartmentEntity> {

    DepartmentEntity findByNameAndOrganizationId(String name, String organizationId);
}
