package com.bc.exam.modules.dict.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.bc.exam.modules.dict.entity.SysDictData;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;


/**
 * @Description 描述:码值数据表 Mapper 接口
 * @Author A贾宇婷034244310
 * @Date 20260615
 */
public interface SysDictDataMapper extends BaseMapper<SysDictData> {
    @Select("${sqlStr}")
    List<SysDictData> dynamicSql(@Param("sqlStr") String sql);

    @Select("${sqlStr}")
    IPage<SysDictData> pagingDynamicSql(Page<SysDictData> query, @Param("sqlStr") String sql);
}
