package com.unis.crk.common.mapper;

import com.unis.crk.common.entity.DeleteDataRecord;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import org.apache.ibatis.annotations.Param;
import java.util.Map;

/**
 * <p>
 * 数据删除记录 Mapper 接口
 * </p>
 *
 * @author TangSong
 * @since 2022-06-01
 */
public interface DeleteDataRecordMapper extends BaseMapper<DeleteDataRecord> {
        /**
         * 自定义sql分页
         * @param page
         * @param queryWrapper 看这里看这里，如果自定义的方法中需要用到wrapper查询条件，需要这样写
         * @return
         */
        IPage<Map<String,Object>> selectMyMapsPage(IPage<DeleteDataRecord> page, @Param(Constants.WRAPPER) QueryWrapper<DeleteDataRecord> queryWrapper);


}
