package cn.lihongjie.coal.organization.repository;

import cn.lihongjie.coal.base.dao.BaseRepository;
import cn.lihongjie.coal.organization.entity.OrganizationEntity;

import org.springframework.lang.Nullable;
import org.springframework.stereotype.Repository;

@Repository
public interface OrganizationRepository extends BaseRepository<OrganizationEntity> {
    @Nullable
    OrganizationEntity findByCode(String code);
}
