package com.zcloud.basic.info.persistence.mapper;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
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.basic.info.persistence.dataobject.DepartmentDO;
import com.zcloud.basic.info.persistence.dataobject.PostDO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * web-infrastructure
 *
 *
 * @Author SondonYong
 * @Date 2025-10-31 17:24:04
 */
@Mapper
@DataScopes({
        @DataScope(method = "selectPostPage", menuPerms = ""),
})
public interface PostMapper extends BaseMapper<PostDO> {
    IPage<PostDO> selectPostPage(IPage<PostDO> iPage, @Param("ew") QueryWrapper<PostDO> queryWrapper, String menuPerms);
}

