package com.zcloud.zcGbsServicer.persistence.mapper;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
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.zcGbsServicer.persistence.dataobject.WaterSourceDO;
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:23:50
*/
@Mapper
@DataScopes({
        @DataScope(method = "selectPageSql", menuPerms = "xfsy")
})
public interface WaterSourceMapper extends BaseMapper<WaterSourceDO> {

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

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

