package com.zcloud.zcGbsServicer.persistence.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.jjb.saas.framework.datascope.annotation.DataScope;
import com.jjb.saas.framework.datascope.annotation.DataScopes;
import com.zcloud.zcGbsServicer.persistence.dataobject.ControlRoomDO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Map;

/**
* web-infrastructure
* @Author makejava
* @Date 2026-01-21 17:21:49
*/
@Mapper
@DataScopes({
        @DataScope(method = "selectPageSql",  menuPerms = "xjkzs")
})
public interface ControlRoomMapper extends BaseMapper<ControlRoomDO> {

    IPage<ControlRoomDO> selectPageSql(IPage<ControlRoomDO> page,
                                      @Param("ew") QueryWrapper<ControlRoomDO> queryWrapper,
                                      @Param("menuPerms") String menuPerms);

    IPage<ControlRoomDO> selectScreenList(IPage<ControlRoomDO> page, @Param("params") Map<String, Object> params);
}

