package com.ruoyi.zzb.zdcx.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.common.annotation.DataSource;
import com.ruoyi.common.enums.DataSourceType;
import com.ruoyi.zzb.zdcx.domain.Zdcx;
import org.apache.ibatis.annotations.Mapper;

@Mapper
@DataSource(value = DataSourceType.SLAVE)
public interface ZdcxMapper extends BaseMapper<Zdcx> {

//    @Select("select * from ( select row_.*, rownum rownum_ from ( select * from STANDARD_DOC_INFO ) row_ where rownum <= #{pageNo} * #{pageSize} ) a where rownum_ > ( #{pageNo} - 1) * #{pageSize}")
//    List<Zdcx> getDataByPage(@Param("pageNo") Integer pageNo, @Param("pageSize") Integer PageSize);

    /**按照条件查询制度信息*/
//    List<Zdcx> getDataByPage(Zdcx zdcx);

    /**按照参数查询制度信息总数据条数*/
//    Long getDataCount(Zdcx zdcx);




}
