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.DomainGroupDO;
import org.apache.ibatis.annotations.Mapper;

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

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

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

    DomainGroupDO getInfoById(Long id);

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

    DomainGroupDO getInfoByGroupId(String domainGroupId);
}

