package cn.iocoder.yudao.module.knowledge.mapper;

import cn.iocoder.yudao.module.knowledge.controller.requestdto.MonitorRequestPage;
import cn.iocoder.yudao.module.knowledge.entity.RfeuTaskContent;
import cn.iocoder.yudao.module.knowledge.entity.TRegulatoryFrameworkExecution;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @packageName:com.chalco.zlzn.server.providerknowledge.dao
 * @className:TOperaDocMapper
 * @Description:
 * @author:韩维杰
 * @date 2024/4/19 15:19
 **/
@Mapper
public interface TRegulatoryFrameworkExecutionMapper extends BaseMapper<TRegulatoryFrameworkExecution> {


    IPage<TRegulatoryFrameworkExecution> selectPageMonitor(Page page, @Param("monitorRequestPage") MonitorRequestPage monitorRequestPage);
    IPage<TRegulatoryFrameworkExecution> findTask(Page page, @Param("monitorRequestPage") MonitorRequestPage monitorRequestPage);

    List<TRegulatoryFrameworkExecution> selectPageMonitor(@Param("monitorRequestPage") MonitorRequestPage monitorRequestPage);
    List<RfeuTaskContent> findOwn(@Param("executionId")Long executionId, @Param("userId") Long userId);
}
