package com.zcloud.domain.persistence.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.jjb.saas.framework.datascope.annotation.DataScope;
import com.jjb.saas.framework.datascope.annotation.DataScopes;
import com.zcloud.domain.persistence.dataobject.DomainDepartmentDO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * web-infrastructure
 *
 * @Author zhaokai
 * @Date 2026-01-27 11:28:51
 */
@Mapper
@DataScopes({
        @DataScope(method = "listPage", menuPerms = ""),
})
public interface DomainDepartmentMapper extends BaseMapper<DomainDepartmentDO> {

    DomainDepartmentDO getInfoById(Long id);

    IPage<DomainDepartmentDO> listPage(IPage<DomainDepartmentDO> iPage, Map<String, Object> params, String menuPerms);

    List<DomainDepartmentDO> listAll(Map<String, Object> params);

    DomainDepartmentDO getInfoByUUID(String domainDepartmentId);
}

