package com.zcloud.primeport.persistence.mapper;

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.primeport.persistence.dataobject.ClosedAreaCountDO;
import com.zcloud.primeport.persistence.dataobject.ClosedAreaDO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

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

/**
 * web-infrastructure
 *
 * @Author dearLin
 * @Date 2026-03-19 10:27:51
 */
@Mapper
@DataScopes(
        @DataScope(method = "listPage", menuPerms = "")
)
public interface ClosedAreaMapper extends BaseMapper<ClosedAreaDO> {


    List<ClosedAreaCountDO> listCount(@Param("params") Map<String,Object> params);

    List<ClosedAreaDO> getCountByHgAuthArea();

    IPage<ClosedAreaDO> listPage(IPage<ClosedAreaDO> iPage, @Param("params") Map<String, Object> params);
}

