package com.qmth.sop.business.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.qmth.sop.business.bean.dto.DataPermissionDto;
import com.qmth.sop.business.bean.result.ProjectExchangeResult;
import com.qmth.sop.business.entity.TBProjectExchange;
import org.apache.ibatis.annotations.Param;

import java.util.Map;

/**
 * <p>
 * 项目变更计划表 Mapper 接口
 * </p>
 *
 * @author wangliang
 * @since 2023-08-01
 */
public interface TBProjectExchangeMapper extends BaseMapper<TBProjectExchange> {

    /**
     * 项目变更计划申请列表
     *
     * @param iPage
     * @param serviceId
     * @param createUserId
     * @param type
     * @param customType
     * @param flowStatus
     * @param customName
     * @param exchangeNo
     * @param startTime
     * @param endTime
     * @param dpr
     * @return
     */
    IPage<ProjectExchangeResult> list(IPage<Map> iPage, @Param("serviceId") Long serviceId, @Param("createUserId") Long createUserId, @Param("type") String type, @Param("customType") String customType, @Param("flowStatus") String flowStatus, @Param("customName") String customName, @Param("exchangeNo") String exchangeNo, @Param("startTime") Long startTime, @Param("endTime") Long endTime, @Param("dpr") DataPermissionDto dpr);
}
