package org.springblade.file.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import org.apache.ibatis.annotations.Param;
import org.springblade.file.pojo.dto.BusinessUnzipTaskQueryDTO;
import org.springblade.file.pojo.entity.BusinessUnzipTask;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springblade.file.pojo.vo.BusinessUnzipDetailListVO;
import org.springblade.file.pojo.vo.BusinessUnzipTaskListVO;

import java.util.List;

/**
 * <p>
 * 业务解压任务表 Mapper 接口
 * </p>
 *
 * @author bfhuange
 * @since 2024-10-28
 */
public interface BusinessUnzipTaskMapper extends BaseMapper<BusinessUnzipTask> {

    /**
     *  查询列表
     * @param page
     * @param param
     * @return
     */
    List<BusinessUnzipTaskListVO> selectTaskList(IPage<BusinessUnzipTask> page, @Param("param") BusinessUnzipTaskQueryDTO param);

    /**
     *  根据业务id查询解压明细
     * @param bizId
     * @return
     */
    List<BusinessUnzipDetailListVO> queryBusinessUnzipDetail(@Param("bizId") Long bizId);
}
