package com.ruoyi.oa.mapper;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruoyi.oa.domain.OaProgress;
import com.ruoyi.oa.domain.OaProgressDetail;
import com.ruoyi.oa.domain.vo.OaProgressVo;
import com.ruoyi.common.core.mapper.BaseMapperPlus;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 进度管理Mapper接口
 *
 * @author hdka
 * @date 2025-04-14
 */
public interface OaProgressMapper extends BaseMapperPlus<OaProgressMapper, OaProgress, OaProgressVo> {

    /**
     * 获取关键字列表
     * @return
     */
    List<OaProgressDetail> getKeyList();

    Page<OaProgressVo> selectVoPagePlus(@Param("page") Page<Object> build,@Param(Constants.WRAPPER) QueryWrapper<OaProgress> lqw);


    List<OaProgressVo> queryByProjectId(Long projectId);
}
