package com.artfess.yhxt.contract.dao;

import com.artfess.yhxt.contract.model.BillOfQuantities;
import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import org.apache.ibatis.annotations.Param;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * 工程量清单表 Mapper 接口
 *
 * @company 阿特菲斯信息技术有限公司
 * @author xzh
 * @since 2021-08-18
 */
public interface BillOfQuantitiesDao extends BaseMapper<BillOfQuantities> {

    IPage<BillOfQuantities> queryBillOfQuantities(IPage<BillOfQuantities> convert2IPage,
                                                  @Param("map") Map<String, Object> params,
                                                  @Param(Constants.WRAPPER) Wrapper<BillOfQuantities> convert2Wrapper);

    List<BillOfQuantities> listBillOfQuantities( @Param("workOrderIds") List<String> workOrderIds);

    List<BillOfQuantities> listBillOfQuantitiesTime( @Param("workOrderIds") List<String> workOrderIds);
}
